We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e4fff5 commit b3d4f87Copy full SHA for b3d4f87
tests/test_lazy_loader.py
@@ -103,3 +103,8 @@ def test_attach_same_module_and_attr_name():
103
# override function by module
104
assert isinstance(fake_pkg.some_func, types.FunctionType)
105
106
+
107
+ # Ensure imports from submodule still work
108
+ from fake_pkg.some_func import some_func
109
110
+ assert isinstance(some_func, types.FunctionType)
0 commit comments