[Python-checkins] cpython (3.2): sleep here
benjamin.peterson
python-checkins at python.org
Mon Apr 23 16:08:59 CEST 2012
http://hg.python.org/cpython/rev/1040e3811485
changeset: 76481:1040e3811485
branch: 3.2
parent: 76469:22f0044ea366
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
@@ -148,7 +148,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