Skip to content

Commit

Permalink
tests: fix xpass test in http tests (#266)
Browse files Browse the repository at this point in the history
  • Loading branch information
ap-- authored Sep 1, 2024
1 parent ab308c6 commit e508246
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
File renamed without changes.
9 changes: 5 additions & 4 deletions upath/tests/implementations/test_http.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,11 @@ def test_mkdir(self):
"*.txt",
pytest.param(
"*",
marks=(
pytest.mark.xfail(reason="requires fsspec<=2023.10.0")
if Version(fsspec_version) > Version("2023.10.0")
else ()
marks=xfail_if_version(
"fsspec",
gt="2023.10.0",
lt="2024.5.0",
reason="requires fsspec>=2024.5.0",
),
),
pytest.param(
Expand Down

0 comments on commit e508246

Please sign in to comment.