Commit 9fc685ca authored by Denis Bilenko's avatar Denis Bilenko

test__greenlet.py: avoid race condition in test

parent fc8c22d5
......@@ -487,6 +487,7 @@ class TestStuff(greentest.TestCase):
raise ExpectedError('test_killing_unlinked')
except:
e.set_exception(sys.exc_info()[1])
gevent.sleep(0)
p = gevent.spawn_link(func)
try:
......
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