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:
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
|
Loading…
Reference in New Issue
Block a user