Skip to content

Commit 609b865

Browse files
author
Martin Durant
committed
test for "/" trim
1 parent cf27210 commit 609b865

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

fsspec/implementations/tests/test_local.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -567,6 +567,7 @@ def test_strip_protocol_expanduser():
567567
assert path != stripped
568568
assert "file://" not in stripped
569569
assert stripped.startswith(os.path.expanduser("~").replace("\\", "/"))
570+
assert not LocalFileSystem._strip_protocol("./").endswith("/")
570571

571572

572573
def test_iterable(tmpdir):

0 commit comments

Comments
 (0)