diff --git a/test/test_structures.py b/test/test_structures.py index 8ac36609c..24a1f1feb 100644 --- a/test/test_structures.py +++ b/test/test_structures.py @@ -586,7 +586,7 @@ class TestTimeoutQueue(SupyTestCase): q.enqueue(3) self.assertEqual(len(q), 3) self.assertEqual(sum(q), 6) - time.sleep(1) + time.sleep(1.1) self.assertEqual(len(q), 0) self.assertEqual(sum(q), 0) @@ -599,7 +599,7 @@ class TestTimeoutQueue(SupyTestCase): q.enqueue(3) self.assertEqual(len(q), 3) self.assertEqual(sum(q), 6) - time.sleep(1) + time.sleep(1.1) self.assertEqual(len(q), 0) self.assertEqual(sum(q), 0) @@ -608,9 +608,9 @@ class TestTimeoutQueue(SupyTestCase): q.enqueue(1) self.failUnless(1 in q) self.failIf(2 in q) - time.sleep(1) + time.sleep(1.1) self.failIf(1 in q) - + # vim:set shiftwidth=4 tabstop=8 expandtab textwidth=78: