summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_thread.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2012-04-23 14:08:14 (GMT)
committerBenjamin Peterson <benjamin@python.org>2012-04-23 14:08:14 (GMT)
commit7a436c5a5338a022ff111f3c9bcc075716e14b68 (patch)
tree82546d5fd498fe5f404a26f31865b19dd6b6aaf7 /Lib/test/test_thread.py
parent37fc401188430149075c05315b00b0cf41ccb865 (diff)
downloadcpython-7a436c5a5338a022ff111f3c9bcc075716e14b68.zip
cpython-7a436c5a5338a022ff111f3c9bcc075716e14b68.tar.gz
cpython-7a436c5a5338a022ff111f3c9bcc075716e14b68.tar.bz2
sleep here
Diffstat (limited to 'Lib/test/test_thread.py')
-rw-r--r--Lib/test/test_thread.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_thread.py b/Lib/test/test_thread.py
index 41fb3ac..a191e15 100644
--- a/Lib/test/test_thread.py
+++ b/Lib/test/test_thread.py
@@ -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())