mirror of
https://github.com/python/cpython
synced 2024-10-09 07:20:07 +00:00
Use the new regrtest harness
This commit is contained in:
parent
4a6cf4167b
commit
5b456645fb
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue