sleep here

This commit is contained in:
Benjamin Peterson 2012-04-23 10:08:14 -04:00
parent 016878aea6
commit 19e9beb2db

View file

@ -150,7 +150,7 @@ def mywrite(self, *args):
thread.start_new_thread(task, ())
started.acquire()
while thread._count() > c:
pass
time.sleep(0.01)
self.assertIn("Traceback", stderr.getvalue())