Skip to content

Commit 66b9f43

Browse files
aiskvstinner
andcommitted
[3.11] pythongh-115538: Use isolate mode when running venv test_multiprocessing_recursion() (pythonGH-117116)
(cherry picked from commit 4ec3477) Co-authored-by: AN Long <[email protected]> Co-authored-by: Victor Stinner <[email protected]>
1 parent 452b0e5 commit 66b9f43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_venv.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ def test_multiprocessing_recursion(self):
495495
envpy = os.path.join(os.path.realpath(self.env_dir),
496496
self.bindir, self.exe)
497497
script = os.path.join(TEST_HOME_DIR, '_test_venv_multiprocessing.py')
498-
subprocess.check_call([envpy, script])
498+
subprocess.check_call([envpy, "-I", script])
499499

500500
@unittest.skipIf(os.name == 'nt', 'not relevant on Windows')
501501
def test_deactivate_with_strict_bash_opts(self):

0 commit comments

Comments
 (0)