Skip to content

Commit 8ef54b0

Browse files
committed
tests: check for os.path.isabs issue in make_path_posix tests
1 parent 10bb4d0 commit 8ef54b0

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

fsspec/implementations/tests/test_local.py

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -542,10 +542,20 @@ def test_make_path_posix():
542542
"abc/def",
543543
"",
544544
".",
545-
"//server/share",
545+
"//server/share/",
546+
"\\\\server\\share\\",
546547
"C:\\",
547548
"d:/abc/def",
548549
"e:",
550+
pytest.param(
551+
"\\\\server\\share",
552+
marks=[
553+
pytest.mark.xfail(
554+
WIN and sys.version_info < (3, 11),
555+
reason="requires py3.11+ see: python/cpython#96290",
556+
)
557+
],
558+
),
549559
pytest.param(
550560
"f:foo",
551561
marks=[pytest.mark.xfail(WIN, reason="unsupported")],

0 commit comments

Comments
 (0)