Skip to content

Commit ca07939

Browse files
aiskvstinner
andauthored
[3.12] gh-115538: Use isolate mode when running venv test_multiproces… (#117264)
[3.12] gh-115538: Use isolate mode when running venv test_multiprocessing_recursion() (GH-117116) (cherry picked from commit 4ec3477) Co-authored-by: Victor Stinner <[email protected]>
1 parent 0b95ba0 commit ca07939

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)