Skip to content

Commit 00e95fe

Browse files
committed
fix: test_percent_encoded_drive_on_win32 duplicates the win32 branch
1 parent 46d2c31 commit 00e95fe

1 file changed

Lines changed: 2 additions & 7 deletions

File tree

tests/test_normalize_file_path.py

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
in scripts/export.py. All call-sites in the web app and CLI export script now
55
use the shared implementations in utils.path_helpers.
66
7-
Test inventory (this module only): 24 cases — 15 ``normalize_file_path``,
7+
Test inventory (this module only): 23 cases — 14 ``normalize_file_path``,
88
9 ``to_epoch_ms``. On win32, 2 cases skip (POSIX passthrough in
9-
``TestNormalizeFilePathPosixPassthrough`` only). On non-win32, 3 cases skip
9+
``TestNormalizeFilePathPosixPassthrough`` only). On non-win32, 2 cases skip
1010
(``TestNormalizeFilePathWindowsNative`` — exercised on windows-latest CI).
1111
A full-suite run may report more skips (e.g. ``skipped=4``) from other test
1212
modules, not this file.
@@ -106,11 +106,6 @@ def test_file_uri_backslashes_normalised(self) -> None:
106106
out = normalize_file_path(r"file:///C:\Users\Dev\project")
107107
self.assertEqual(out, r"c:\users\dev\project")
108108

109-
@unittest.skipUnless(sys.platform == "win32", "native win32 path semantics")
110-
def test_percent_encoded_drive_on_win32(self) -> None:
111-
out = normalize_file_path("/d%3A/_Work/project")
112-
self.assertEqual(out, r"d:\_work\project")
113-
114109

115110
class TestNormalizeFilePathPosixPassthrough(unittest.TestCase):
116111
def test_plain_posix_path_unchanged_on_non_windows(self) -> None:

0 commit comments

Comments
 (0)