Skip to content

Commit e508246

Browse files
authored
tests: fix xpass test in http tests (#266)
1 parent ab308c6 commit e508246

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

upath/tests/implementations/test_http.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,11 @@ def test_mkdir(self):
4949
"*.txt",
5050
pytest.param(
5151
"*",
52-
marks=(
53-
pytest.mark.xfail(reason="requires fsspec<=2023.10.0")
54-
if Version(fsspec_version) > Version("2023.10.0")
55-
else ()
52+
marks=xfail_if_version(
53+
"fsspec",
54+
gt="2023.10.0",
55+
lt="2024.5.0",
56+
reason="requires fsspec>=2024.5.0",
5657
),
5758
),
5859
pytest.param(

0 commit comments

Comments
 (0)