Skip to content

Commit c74d4f1

Browse files
committed
✅ Fix path normalization in test_normalize_path() function
1 parent be9810e commit c74d4f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zcollection/tests/test_fs_utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ def istrcmp(str1, str2):
121121

122122
assert istrcmp(fs_utils.normalize_path(fs, '/'), root)
123123
assert istrcmp(fs_utils.normalize_path(fs, './foo'),
124-
str((pathlib.Path('.').resolve() / 'foo').as_posix()))
124+
str(pathlib.Path('.').resolve() / 'foo'))
125125

126126
fs = fsspec.filesystem('memory')
127127
assert fs_utils.normalize_path(fs, '/') == os.path.sep

0 commit comments

Comments
 (0)