tps: do not use from list in __import__ call

parent 08ccf625
......@@ -22,7 +22,7 @@ def run_test(testname, logname):
try:
tmpout = sys.stdout
with open(logname, 'w') as sys.stdout:
mod = __import__(testname, globals(), locals(), ['main'])
mod = __import__(testname, globals(), locals(), [])
mod.main()
except:
raise
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment