Close #18754: Run Python child processes in isolated more in the test suite.

This commit is contained in:
Victor Stinner 2013-10-12 14:44:01 +02:00
parent c2228c8995
commit e8785ff82a
5 changed files with 27 additions and 8 deletions

View file

@ -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__':