Use the new regrtest harness

This commit is contained in:
Barry Warsaw 1997-01-13 22:54:27 +00:00
parent 4a6cf4167b
commit 5b456645fb

View 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