Skip to content

Commit 79fa62f

Browse files
committed
Add docstring and reference to the issue.
1 parent 90c0e42 commit 79fa62f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

importlib_resources/tests/test_files.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,11 @@ def _compile_importlib(self):
149149
self.fixtures.enter_context(import_helper.DirsOnSysPath(bin_site))
150150

151151
def test_implicit_files_with_compiled_importlib(self):
152+
"""
153+
Caller detection works for compiled-only resources module.
154+
155+
python/cpython#123085
156+
"""
152157
self._compile_importlib()
153158
assert importlib.import_module('frozenpkg').val == 'resources are the best'
154159

0 commit comments

Comments
 (0)