From 5b456645fb69f63727bc260159bfeb2d8e95ec69 Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Mon, 13 Jan 1997 22:54:27 +0000 Subject: Use the new regrtest harness --- Lib/test/test_thread.py | 5 +---- 1 file changed, 1 insertion(+), 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 -- cgit v0.12