We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6de847d commit 8edef6dCopy full SHA for 8edef6d
tests/fsutil/test_fileobj.py
@@ -299,4 +299,4 @@ def to_protocol(fs: fsspec.AbstractFileSystem):
299
300
301
def to_abs(path: str) -> str:
302
- return os.path.abspath(path).replace("\\", "/")
+ return os.path.abspath(path).replace(os.path.sep, "/")
0 commit comments