mirror of https://github.com/python/cpython
10 lines
315 B
Python
10 lines
315 B
Python
|
import thread
|
||
|
# Start empty thread to initialise thread mechanics (and global lock!)
|
||
|
# This thread will finish immediately thus won't make much influence on
|
||
|
# test results by itself, only by that fact that it initialises global lock
|
||
|
thread.start_new_thread(lambda : 1, ())
|
||
|
|
||
|
import test.pystone
|
||
|
test.pystone.main()
|
||
|
|