mirror of
https://github.com/python/cpython.git
synced 2025-10-17 12:18:23 +00:00
Close #18754: Run Python child processes in isolated more in the test suite.
This commit is contained in:
parent
c2228c8995
commit
e8785ff82a
5 changed files with 27 additions and 8 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue