summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test')
-rwxr-xr-xLib/test/regrtest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py
index ce5e22d..7e1003c 100755
--- a/Lib/test/regrtest.py
+++ b/Lib/test/regrtest.py
@@ -133,7 +133,7 @@ def runtest(test, generate, verbose):
if cfp:
sys.stdout = cfp
print test # Output file starts with test name
- __import__(test)
+ __import__(test, globals(), locals(), [])
finally:
sys.stdout = save_stdout
except ImportError, msg: