[Python-checkins] cpython (2.7): sleep here
benjamin.peterson
python-checkins at python.org
Mon Apr 23 16:09:01 CEST 2012
http://hg.python.org/cpython/rev/3182453e74f9
changeset: 76483:3182453e74f9
branch: 2.7
parent: 76480:db26c4daecbb
user: Benjamin Peterson <benjamin at python.org>
date: Mon Apr 23 10:08:14 2012 -0400
summary:
sleep here
files:
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
--- a/Lib/test/test_thread.py
+++ b/Lib/test/test_thread.py
@@ -150,7 +150,7 @@
thread.start_new_thread(task, ())
started.acquire()
while thread._count() > c:
- pass
+ time.sleep(0.01)
self.assertIn("Traceback", stderr.getvalue())
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list