Skip to content

Commit

Permalink
Add tests for namespace packages in a zip, capturing missed expectati…
Browse files Browse the repository at this point in the history
…on reported in #287.
  • Loading branch information
jaraco committed Sep 18, 2023
1 parent d3a7f69 commit e5a18c1
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions importlib_resources/tests/test_resource.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,5 +209,13 @@ def tearDownClass(cls):
sys.path.remove(cls.site_dir)


class ResourceFromNamespaceZipTests(
util.ZipSetupBase,
ResourceFromNamespaceTests,
unittest.TestCase,
):
ZIP_MODULE = 'namespacedata01'


if __name__ == '__main__':
unittest.main()

0 comments on commit e5a18c1

Please sign in to comment.