summaryrefslogtreecommitdiff
path: root/tests/cpydiff/core_import_path.py
blob: 2028386be84b02c12165c7f2180c9446ff8c12ce (plain)
1
2
3
4
5
6
7
8
9
10
"""
categories: Core,import
description: __path__ attribute of a package has a different type (single string instead of list of strings) in MicroPython
cause: MicroPython doesn't support namespace packages split across filesystem. Beyond that, MicroPython's import system is highly optimized for minimal memory usage.
workaround: Details of import handling is inherently implementation dependent. Don't rely on such details in portable applications.
"""

import modules

print(modules.__path__)