We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f44524a commit 15ebb25Copy full SHA for 15ebb25
1 file changed
test/test_index.py
@@ -1042,9 +1042,9 @@ def test_hook_uses_shell_not_from_cwd(self, rw_dir, case):
1042
# architecture, and generating one in a bespoke way may cause virus scanners to
1043
# give a false positive. So we use a Bash/Python polyglot for the hook and use
1044
# the Python interpreter itself as the bash.exe impostor. But an interpreter
1045
- # from a venv may not run outside of it, and a global interpreter won't run from
1046
- # a different location if it was installed from the Microsoft Store. So we make
1047
- # a new venv in rw_dir and use its interpreter.
+ # from a venv may not run when copied outside of it, and a global interpreter
+ # won't run when copied to a different location if it was installed from the
+ # Microsoft Store. So we make a new venv in rw_dir and use its interpreter.
1048
venv = VirtualEnvironment(rw_dir, with_pip=False)
1049
shutil.copy(venv.python, Path(rw_dir, shell_name))
1050
shutil.copy(fixture_path("polyglot"), hook_path("polyglot", repo.git_dir))
0 commit comments