Kaydet (Commit) 7a436c5a authored tarafından Benjamin Peterson's avatar Benjamin Peterson

sleep here

üst 37fc4011
...@@ -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