diff options
author | Benjamin Peterson <benjamin@python.org> | 2012-04-23 10:08:14 -0400 |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2012-04-23 10:08:14 -0400 |
commit | 19e9beb2db3d3e04e4dd08fafe5720fe0659a965 (patch) | |
tree | a2f5ba9b4a65913c295332c1c94f991877e9365d | |
parent | 016878aea6fb1904b8a04c7f56223c90cd8a0522 (diff) | |
download | cpython-git-19e9beb2db3d3e04e4dd08fafe5720fe0659a965.tar.gz |
sleep here
-rw-r--r-- | Lib/test/test_thread.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_thread.py b/Lib/test/test_thread.py index ae9a7d9527..413889ad22 100644 --- a/Lib/test/test_thread.py +++ b/Lib/test/test_thread.py @@ -150,7 +150,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()) |