Skip to content

Commit a39a9a9

Browse files
Enfoirerclaude
andcommitted
Remove duplicate test_detect_uv_installation_windows function
Fixed issue where two identical test functions existed in the same file. The duplicate function (lines 248-259) was overriding the more complete version (lines 210-226), which included additional test cases. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
1 parent c449eda commit a39a9a9

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed

tests/test_auto_update.py

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -242,18 +242,4 @@ def test_get_upgrade_command():
242242
assert "install" in pip_cmd
243243
assert "--upgrade" in pip_cmd
244244
assert "pdd-cli" in pip_cmd
245-
assert isinstance(pip_shell, bool)
246-
247-
#test for Windows paths with backslashes
248-
def test_detect_uv_installation_windows():
249-
"""Test detection of UV installation on Windows with backslash paths."""
250-
# Test Windows UV tool paths with backslashes
251-
assert detect_installation_method(
252-
r"C:\Users\pmbri\AppData\Roaming\uv\tools\pdd-cli\Scripts\python.exe"
253-
) == "uv"
254-
assert detect_installation_method(
255-
r"C:\Users\user\.local\share\uv\tools\pdd-cli\Scripts\python.exe"
256-
) == "uv"
257-
assert detect_installation_method(
258-
r"D:\uv\tools\pdd-cli\bin\python.exe"
259-
) == "uv"
245+
assert isinstance(pip_shell, bool)

0 commit comments

Comments
 (0)