Skip to content

Commit

Permalink
Mark test as xfail on Python 3.10 where it fails. Ref #257.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Mar 16, 2024
1 parent 2cec87b commit d7b6cfb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions importlib_resources/tests/test_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
import importlib
import contextlib

import pytest

import importlib_resources as resources
from ..abc import Traversable
from . import data01
Expand Down Expand Up @@ -34,6 +36,7 @@ def test_read_text(self):
def test_traversable(self):
assert isinstance(resources.files(self.data), Traversable)

@pytest.mark.xfail("sys.version_info[:2] == (3, 10)", reason="#257")
def test_joinpath_with_multiple_args(self):
files = resources.files(self.data)
binfile = files.joinpath('subdirectory', 'binary.file')
Expand Down

0 comments on commit d7b6cfb

Please sign in to comment.