From: Benjamin Peterson Date: Mon, 23 Apr 2012 14:08:14 +0000 (-0400) Subject: sleep here X-Git-Tag: v2.7.4rc1~889^2~6 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=19e9beb2db3d3e04e4dd08fafe5720fe0659a965;p=thirdparty%2FPython%2Fcpython.git sleep here --- diff --git a/Lib/test/test_thread.py b/Lib/test/test_thread.py index ae9a7d9527fd..413889ad2269 100644 --- a/Lib/test/test_thread.py +++ b/Lib/test/test_thread.py @@ -150,7 +150,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())