sleep here
This commit is contained in:
parent
37fc401188
commit
7a436c5a53
@ -148,7 +148,7 @@ class ThreadRunningTests(BasicThreadTest):
|
||||
thread.start_new_thread(task, ())
|
||||
started.acquire()
|
||||
while thread._count() > c:
|
||||
pass
|
||||
time.sleep(0.01)
|
||||
self.assertIn("Traceback", stderr.getvalue())
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user