From d94aa577a65c10e7fe2e7ce5021b79fb30a03274 Mon Sep 17 00:00:00 2001
From: Paul Sokolovsky <pfalcon@users.sourceforge.net>
Date: Thu, 25 Oct 2018 23:43:44 +0300
Subject: [PATCH] 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.
---
 tests/import/import_long_dyn.py  | 1 +
 tests/import/import_long_dyn2.py | 1 +
 2 files changed, 2 insertions(+)
 create mode 100644 tests/import/import_long_dyn.py
 create mode 100644 tests/import/import_long_dyn2.py

diff --git a/tests/import/import_long_dyn.py b/tests/import/import_long_dyn.py
new file mode 100644
index 000000000..709e019f3
--- /dev/null
+++ b/tests/import/import_long_dyn.py
@@ -0,0 +1 @@
+from import_long_dyn2 import *
diff --git a/tests/import/import_long_dyn2.py b/tests/import/import_long_dyn2.py
new file mode 100644
index 000000000..c3cb1f246
--- /dev/null
+++ b/tests/import/import_long_dyn2.py
@@ -0,0 +1 @@
+globals()["long_long_very_long_long_name"] = 1
-- 
GitLab