mirror of
https://github.com/python/cpython.git
synced 2025-11-01 02:38:53 +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
|
|
@ -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__':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue