summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_thread.py
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>1997-01-13 22:54:27 (GMT)
committerBarry Warsaw <barry@python.org>1997-01-13 22:54:27 (GMT)
commit5b456645fb69f63727bc260159bfeb2d8e95ec69 (patch)
tree98fb11e31d7eafcc901da5718a33f9cf6e643349 /Lib/test/test_thread.py
parent4a6cf4167b557894cfd122865f0a4991a005b39b (diff)
downloadcpython-5b456645fb69f63727bc260159bfeb2d8e95ec69.zip
cpython-5b456645fb69f63727bc260159bfeb2d8e95ec69.tar.gz
cpython-5b456645fb69f63727bc260159bfeb2d8e95ec69.tar.bz2
Use the new regrtest harness
Diffstat (limited to 'Lib/test/test_thread.py')
-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