diff options
author | Barry Warsaw <barry@python.org> | 1997-01-13 22:54:27 (GMT) |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 1997-01-13 22:54:27 (GMT) |
commit | 5b456645fb69f63727bc260159bfeb2d8e95ec69 (patch) | |
tree | 98fb11e31d7eafcc901da5718a33f9cf6e643349 | |
parent | 4a6cf4167b557894cfd122865f0a4991a005b39b (diff) | |
download | cpython-5b456645fb69f63727bc260159bfeb2d8e95ec69.zip cpython-5b456645fb69f63727bc260159bfeb2d8e95ec69.tar.gz cpython-5b456645fb69f63727bc260159bfeb2d8e95ec69.tar.bz2 |
Use the new regrtest harness
-rw-r--r-- | Lib/test/test_thread.py | 5 |
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 |