diff options
| author | Victor Stinner <victor.stinner@gmail.com> | 2013-10-12 12:44:01 (GMT) |
|---|---|---|
| committer | Victor Stinner <victor.stinner@gmail.com> | 2013-10-12 12:44:01 (GMT) |
| commit | e8785ff82a1b3227ace7c52979624756d32b393f (patch) | |
| tree | 3a536b49d41ec31fa14e9d92d96bfedb3ebd68b3 /Lib/test/test_import.py | |
| parent | c2228c89957bfbcbeb4cff4a2811fc0359a8b912 (diff) | |
| download | cpython-e8785ff82a1b3227ace7c52979624756d32b393f.zip cpython-e8785ff82a1b3227ace7c52979624756d32b393f.tar.gz cpython-e8785ff82a1b3227ace7c52979624756d32b393f.tar.bz2 | |
Close #18754: Run Python child processes in isolated more in the test suite.
Diffstat (limited to 'Lib/test/test_import.py')
| -rw-r--r-- | Lib/test/test_import.py | 3 |
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__': |
