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
Next Next commit
Remove PYTHONHOME when running test_venv.test_multiprocessing_recursion
  • Loading branch information
aisk committed Mar 21, 2024
commit 4407d3e128189118f095340ac696255f98adfbf1
3 changes: 2 additions & 1 deletion Lib/test/test_venv.py
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,8 @@ 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), script],
env={**os.environ, "PYTHONHOME": ""})

@unittest.skipIf(os.name == 'nt', 'not relevant on Windows')
def test_deactivate_with_strict_bash_opts(self):
Expand Down
0