Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Checkins

cpython (3.2): sleep here

 

 

Python checkins RSS feed   Index | Next | Previous | View Threaded


python-checkins at python

Apr 23, 2012, 7:08 AM

Post #1 of 1 (28 views)
Permalink
cpython (3.2): sleep here

http://hg.python.org/cpython/rev/1040e3811485
changeset: 76481:1040e3811485
branch: 3.2
parent: 76469:22f0044ea366
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
@@ -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

Python checkins RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.