https://github.com/python/cpython/commit/3d853a4ee4d0ed2a34363ae5a970434b1c856c47
commit: 3d853a4ee4d0ed2a34363ae5a970434b1c856c47
branch: 3.11
author: Miss Islington (bot) <[email protected]>
committer: vstinner <[email protected]>
date: 2024-03-26T17:13:23Z
summary:

[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 4ec347760f98b156c6a2d42ca397af6b0b6ecc50)

(cherry picked from commit ca0793980b90a6a0f9a91f1a5303a1f27b235f83)

Co-authored-by: AN Long <[email protected]>
Co-authored-by: Victor Stinner <[email protected]>

files:
M Lib/test/test_venv.py

diff --git a/Lib/test/test_venv.py b/Lib/test/test_venv.py
index eb9227a3b70379..a60f4cd3111ea8 100644
--- a/Lib/test/test_venv.py
+++ b/Lib/test/test_venv.py
@@ -495,7 +495,7 @@ def test_multiprocessing_recursion(self):
         envpy = os.path.join(os.path.realpath(self.env_dir),
                              self.bindir, self.exe)
         script = os.path.join(TEST_HOME_DIR, '_test_venv_multiprocessing.py')
-        subprocess.check_call([envpy, script])
+        subprocess.check_call([envpy, "-I", script])
 
     @unittest.skipIf(os.name == 'nt', 'not relevant on Windows')
     def test_deactivate_with_strict_bash_opts(self):

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to