https://github.com/python/cpython/commit/4ec347760f98b156c6a2d42ca397af6b0b6ecc50
commit: 4ec347760f98b156c6a2d42ca397af6b0b6ecc50
branch: main
author: AN Long <[email protected]>
committer: vstinner <[email protected]>
date: 2024-03-26T15:09:57+01:00
summary:

gh-115538: Use isolate mode when running venv test_multiprocessing_recursion() 
(#117116)

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 f60c662d322e38..63cc4b743862bc 100644
--- a/Lib/test/test_venv.py
+++ b/Lib/test/test_venv.py
@@ -531,7 +531,7 @@ def test_multiprocessing_recursion(self):
         rmtree(self.env_dir)
         self.run_with_capture(venv.create, self.env_dir)
         script = os.path.join(TEST_HOME_DIR, '_test_venv_multiprocessing.py')
-        subprocess.check_call([self.envpy(real_env_dir=True), script])
+        subprocess.check_call([self.envpy(real_env_dir=True), "-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