summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_import.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_import.py')
-rw-r--r--Lib/test/test_import.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_import.py b/Lib/test/test_import.py
index a61ee2b..e88141c 100644
--- a/Lib/test/test_import.py
+++ b/Lib/test/test_import.py
@@ -1058,7 +1058,8 @@ class ImportTracebackTests(unittest.TestCase):
# encode filenames, especially on Windows
pyname = script_helper.make_script('', TESTFN_UNENCODABLE, 'pass')
name = pyname[:-3]
- script_helper.assert_python_ok("-c", "mod = __import__(%a)" % name)
+ script_helper.assert_python_ok("-c", "mod = __import__(%a)" % name,
+ __isolated=False)
if __name__ == '__main__':