mirror of
https://github.com/micropython/micropython.git
synced 2025-07-21 21:11:12 +02:00
tests/import_long_dyn: Test for "import *" of a long dynamic name.
Such names aren't stored as qstr in module dict, and there was a bug in "import *" handling which assumed any name in a module dict is a qstr.
This commit is contained in:
committed by
Damien George
parent
5c18730f28
commit
d94aa577a6
1
tests/import/import_long_dyn.py
Normal file
1
tests/import/import_long_dyn.py
Normal file
@@ -0,0 +1 @@
|
||||
from import_long_dyn2 import *
|
1
tests/import/import_long_dyn2.py
Normal file
1
tests/import/import_long_dyn2.py
Normal file
@@ -0,0 +1 @@
|
||||
globals()["long_long_very_long_long_name"] = 1
|
Reference in New Issue
Block a user