Commit 02a26b73 authored by Jason Madden's avatar Jason Madden

Restore gevent patch to 2.7 lock_tests.

parent 65b74bdf
......@@ -295,7 +295,7 @@ class EventTests(BaseTestCase):
self.assertEqual(results1, [False] * N)
for r, dt in results2:
self.assertFalse(r)
self.assertTrue(dt >= 0.2, dt)
self.assertTrue(dt >= 0.19, dt) # XXX: gevent: modified for libuv from 0.2 sometimes get 0.199865
# The event is set
results1 = []
results2 = []
......@@ -440,7 +440,7 @@ class ConditionTests(BaseTestCase):
Bunch(f, N).wait_for_finished()
self.assertEqual(len(results), 5)
for dt in results:
self.assertTrue(dt >= 0.2, dt)
self.assertTrue(dt >= 0.19, dt) # XXX: gevent: gevent: modified from 0.2. sometimes get 0.199865
class BaseSemaphoreTests(BaseTestCase):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment