sleep here

This commit is contained in:
Benjamin Peterson 2012-04-23 10:08:14 -04:00
parent 37fc401188
commit 7a436c5a53
1 changed files with 1 additions and 1 deletions

View File

@ -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())