8000 gh-115538: Remove PYTHONHOME when running test_venv.test_multiprocessing_recursion by aisk · Pull Request #117116 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-115538: Remove PYTHONHOME when running test_venv.test_multiprocessing_recursion #117116

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 26, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update Lib/test/test_venv.py
Co-authored-by: Victor Stinner <vstinner@python.org>
  • Loading branch information
aisk and vstinner authored Mar 26, 2024
commit 1acfd0fe906892cc2735c4fd1daf5510d9ec3c29
3 changes: 1 addition & 2 deletions Lib/test/test_venv.py
Original file line number Diff line number Diff line change
Expand Up @@ -531,8 +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],
env={**os.environ, "PYTHONHOME": ""})
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):
Expand Down
0