From: Barry Warsaw Date: Mon, 13 Jan 1997 22:54:27 +0000 (+0000) Subject: Use the new regrtest harness X-Git-Tag: v1.5a1~528 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5b456645fb69f63727bc260159bfeb2d8e95ec69;p=thirdparty%2FPython%2Fcpython.git Use the new regrtest harness --- diff --git a/Lib/test/test_thread.py b/Lib/test/test_thread.py index f5e5057b78e8..8a1f435214af 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