mirror of
https://github.com/python/cpython.git
synced 2025-08-30 21:48:47 +00:00
sleep here
This commit is contained in:
parent
37fc401188
commit
7a436c5a53
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue