Skip to content

Commit d7b6cfb

Browse files
committed
Mark test as xfail on Python 3.10 where it fails. Ref #257.
1 parent 2cec87b commit d7b6cfb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

importlib_resources/tests/test_files.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
import importlib
55
import contextlib
66

7+
import pytest
8+
79
import importlib_resources as resources
810
from ..abc import Traversable
911
from . import data01
@@ -34,6 +36,7 @@ def test_read_text(self):
3436
def test_traversable(self):
3537
assert isinstance(resources.files(self.data), Traversable)
3638

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

0 commit comments

Comments
 (0)