From: Benjamin Peterson Date: Mon, 23 Apr 2012 14:08:14 +0000 (-0400) Subject: sleep here X-Git-Tag: v3.3.0a3~111^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7a436c5a5338a022ff111f3c9bcc075716e14b68;p=python sleep here --- diff --git a/Lib/test/test_thread.py b/Lib/test/test_thread.py index 41fb3acd7b..a191e157bc 100644 --- a/Lib/test/test_thread.py +++ b/Lib/test/test_thread.py @@ -148,7 +148,7 @@ class ThreadRunningTests(BasicThreadTest): thread.start_new_thread(task, ()) started.acquire() while thread._count() > c: - pass + time.sleep(0.01) self.assertIn("Traceback", stderr.getvalue())