]> granicus.if.org Git - python/commitdiff
Use the new regrtest harness
authorBarry Warsaw <barry@python.org>
Mon, 13 Jan 1997 22:54:27 +0000 (22:54 +0000)
committerBarry Warsaw <barry@python.org>
Mon, 13 Jan 1997 22:54:27 +0000 (22:54 +0000)
Lib/test/test_thread.py

index f5e5057b78e82e6f0dfcd389f38b8cdcea8fa39c..8a1f435214af198f2846560b60a0e4e729f1bed0 100644 (file)
@@ -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