Skip to content

Commit 8edef6d

Browse files
committed
1 parent 6de847d commit 8edef6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/fsutil/test_fileobj.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,4 +299,4 @@ def to_protocol(fs: fsspec.AbstractFileSystem):
299299

300300

301301
def to_abs(path: str) -> str:
302-
return os.path.abspath(path).replace("\\", "/")
302+
return os.path.abspath(path).replace(os.path.sep, "/")

0 commit comments

Comments
 (0)