From 7a436c5a5338a022ff111f3c9bcc075716e14b68 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Mon, 23 Apr 2012 10:08:14 -0400 Subject: [PATCH] sleep here --- Lib/test/test_thread.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_thread.py b/Lib/test/test_thread.py index 41fb3acd7b3..a191e157bc3 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())