Commit 5cf2e5c2 authored by Benjamin Peterson's avatar Benjamin Peterson

sleep here

parent 3d68f47c
...@@ -148,7 +148,7 @@ class ThreadRunningTests(BasicThreadTest): ...@@ -148,7 +148,7 @@ class ThreadRunningTests(BasicThreadTest):
thread.start_new_thread(task, ()) thread.start_new_thread(task, ())
started.acquire() started.acquire()
while thread._count() > c: while thread._count() > c:
pass time.sleep(0.01)
self.assertIn("Traceback", stderr.getvalue()) self.assertIn("Traceback", stderr.getvalue())
......
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