Skip to content

Commit 3d853a4

Browse files
miss-islingtonaiskvstinner
authored
[3.11] [3.12] gh-115538: Use isolate mode when running venv test_multiproces… (GH-117264) (#117265)
[3.12] gh-115538: Use isolate mode when running venv test_multiproces… (GH-117264) [3.12] gh-115538: Use isolate mode when running venv test_multiprocessing_recursion() (GH-117116) (cherry picked from commit 4ec3477) (cherry picked from commit ca07939) Co-authored-by: AN Long <[email protected]> Co-authored-by: Victor Stinner <[email protected]>
1 parent 452b0e5 commit 3d853a4

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)