summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/test/test_thread.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/Lib/test/test_thread.py b/Lib/test/test_thread.py
index f5e5057..8a1f435 100644
--- a/Lib/test/test_thread.py
+++ b/Lib/test/test_thread.py
@@ -2,14 +2,11 @@
# Create a bunch of threads, let each do some work, wait until all are done
+from test_support import verbose
import whrandom
import thread
import time
-verbose = 0
-if __name__ == '__main__':
- verbose = 1
-
mutex = thread.allocate_lock()
whmutex = thread.allocate_lock() # for calls to whrandom
running = 0