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 571cbcd commit ab7a1a3Copy full SHA for ab7a1a3
tests/test_cli_sync.py
@@ -335,10 +335,7 @@ def test_invalid_pip_version_in_python_executable(
335
336
# a dummy executable on Windows needs to end in `.exe` in order for
337
# `shutil.which` to find it
338
- executable_name = (
339
- "custom_executable.exe" if os.name == "nt" else "custom_executable"
340
- )
341
- custom_executable = tmp_path / executable_name
+ custom_executable = tmp_path / "custom_executable.exe"
342
custom_executable.write_text("")
343
344
custom_executable.chmod(0o700)
0 commit comments