Add CHANGELOG

This commit is contained in:
Bruno Oliveira 2023-07-01 11:50:48 -03:00
parent 46c0a11ffa
commit ce021a056f
2 changed files with 4 additions and 2 deletions

View File

@ -0,0 +1,2 @@
Fixed but that fake intermediate modules generated by ``--import-mode=importlib`` would not include the
child modules as attributes of the parent modules.

View File

@ -602,5 +602,5 @@ class TestImportLibMode:
modules = {"xxx.tests.foo": ModuleType("xxx.tests.foo")} modules = {"xxx.tests.foo": ModuleType("xxx.tests.foo")}
insert_missing_modules(modules, "xxx.tests.foo") insert_missing_modules(modules, "xxx.tests.foo")
assert sorted(modules) == ["xxx", "xxx.tests", "xxx.tests.foo"] assert sorted(modules) == ["xxx", "xxx.tests", "xxx.tests.foo"]
assert modules["xxx"].tests == modules["xxx.tests"] assert modules["xxx"].tests is modules["xxx.tests"]
assert modules["xxx.tests"].foo == modules["xxx.tests.foo"] assert modules["xxx.tests"].foo is modules["xxx.tests.foo"]