Skip to content

Commit ab7a1a3

Browse files
sirosenwebknjaz
andauthored
Update tests/test_cli_sync.py
Co-authored-by: 🇺🇦 Sviatoslav Sydorenko (Святослав Сидоренко) <[email protected]>
1 parent 571cbcd commit ab7a1a3

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

tests/test_cli_sync.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -335,10 +335,7 @@ def test_invalid_pip_version_in_python_executable(
335335

336336
# a dummy executable on Windows needs to end in `.exe` in order for
337337
# `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
338+
custom_executable = tmp_path / "custom_executable.exe"
342339
custom_executable.write_text("")
343340

344341
custom_executable.chmod(0o700)

0 commit comments

Comments
 (0)