Commit 03a66490 authored by Denis Bilenko's avatar Denis Bilenko

avoid timing assertions

parent 89c5ac91
......@@ -41,7 +41,7 @@ class Test(greentest.TestCase):
delta = time.time() - start
assert not s, s
assert len(s)==0, s
assert DELAY*2 < delta < DELAY*2.5, delta
assert DELAY*1.9 <= delta <= DELAY*2.5, (delta, DELAY)
def test_kill_block(self):
s = pool.GreenletSet()
......
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