Skip to content

Commit 5e66cf7

Browse files
aiskvstinner
andcommitted
[3.12] 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 0b95ba0 commit 5e66cf7

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
@@ -494,7 +494,7 @@ def test_multiprocessing_recursion(self):
494494
envpy = os.path.join(os.path.realpath(self.env_dir),
495495
self.bindir, self.exe)
496496
script = os.path.join(TEST_HOME_DIR, '_test_venv_multiprocessing.py')
497-
subprocess.check_call([envpy, script])
497+
subprocess.check_call([envpy, "-I", script])
498498

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

0 commit comments

Comments
 (0)