micropython/tests/import/pkg9
Jim Mussared 99a0c45aef tests/import/import_pkg9.py: Add test for subpackage attribute.
When foo.bar is imported, bar is added as an attribute to foo. Previously
this happened on every import, but should only happen on first import.

This verifies the behavior for relative imports and overriding.

This work was funded through GitHub Sponsors.

Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
2023-06-01 16:21:37 +10:00
..
__init__.py tests/import/import_pkg9.py: Add test for subpackage attribute. 2023-06-01 16:21:37 +10:00
mod1.py tests/import/import_pkg9.py: Add test for subpackage attribute. 2023-06-01 16:21:37 +10:00
mod2.py tests/import/import_pkg9.py: Add test for subpackage attribute. 2023-06-01 16:21:37 +10:00