Skip to content

Commit

Permalink
Add docstring and reference to the issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Aug 17, 2024
1 parent 90c0e42 commit 79fa62f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions importlib_resources/tests/test_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,11 @@ def _compile_importlib(self):
self.fixtures.enter_context(import_helper.DirsOnSysPath(bin_site))

def test_implicit_files_with_compiled_importlib(self):
"""
Caller detection works for compiled-only resources module.
python/cpython#123085
"""
self._compile_importlib()
assert importlib.import_module('frozenpkg').val == 'resources are the best'

Expand Down

0 comments on commit 79fa62f

Please sign in to comment.