diff --git a/importlib_resources/tests/test_files.py b/importlib_resources/tests/test_files.py index 70316e0..61f901e 100644 --- a/importlib_resources/tests/test_files.py +++ b/importlib_resources/tests/test_files.py @@ -4,6 +4,8 @@ import importlib import contextlib +import pytest + import importlib_resources as resources from ..abc import Traversable from . import util @@ -91,6 +93,11 @@ class ModuleFilesDiskTests(DirectSpec, util.DiskSetup, ModulesFiles, unittest.Te pass +@pytest.mark.xfail(reason="python/cpython#121735") +class ModuleFilesZipTests(DirectSpec, util.ZipSetup, ModulesFiles, unittest.TestCase): + pass + + class ImplicitContextFiles: spec = { 'somepkg': { @@ -117,5 +124,11 @@ class ImplicitContextFilesDiskTests( pass +class ImplicitContextFilesZipTests( + DirectSpec, util.ZipSetup, ImplicitContextFiles, unittest.TestCase +): + pass + + if __name__ == '__main__': unittest.main()