
python-checkins at python
Apr 23, 2012, 7:09 AM
Post #1 of 1
(30 views)
Permalink
|
|
cpython (2.7): sleep here
|
|
http://hg.python.org/cpython/rev/3182453e74f9 changeset: 76483:3182453e74f9 branch: 2.7 parent: 76480:db26c4daecbb user: Benjamin Peterson <benjamin [at] python> 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
|