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

@ -295,7 +295,7 @@ class CommandLineTests(unittest.TestCase):
pyc = importlib.util.cache_from_source(bazfn)
os.rename(pyc, os.path.join(self.pkgdir, 'baz.pyc'))
os.remove(bazfn)
rc, out, err = script_helper.assert_python_failure(fn)
rc, out, err = script_helper.assert_python_failure(fn, __isolated=False)
self.assertRegex(err, b'File "dinsdale')
def test_include_bad_file(self):