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

@ -263,7 +263,7 @@ class CmdLineTest(unittest.TestCase):
path = path.encode("ascii", "backslashreplace")
sys.stdout.buffer.write(path)"""
rc1, out1, err1 = assert_python_ok('-c', code, PYTHONPATH="")
rc2, out2, err2 = assert_python_ok('-c', code)
rc2, out2, err2 = assert_python_ok('-c', code, __isolated=False)
# regarding to Posix specification, outputs should be equal
# for empty and unset PYTHONPATH
self.assertEqual(out1, out2)