aboutsummaryrefslogtreecommitdiff
path: root/tests/functional/u/undefined/undefined_variable_crash_on_attribute.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functional/u/undefined/undefined_variable_crash_on_attribute.py')
-rw-r--r--tests/functional/u/undefined/undefined_variable_crash_on_attribute.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/functional/u/undefined/undefined_variable_crash_on_attribute.py b/tests/functional/u/undefined/undefined_variable_crash_on_attribute.py
new file mode 100644
index 000000000..571efab1c
--- /dev/null
+++ b/tests/functional/u/undefined/undefined_variable_crash_on_attribute.py
@@ -0,0 +1,6 @@
+# pylint: disable=import-error,missing-module-docstring,missing-class-docstring,too-few-public-methods
+import unknown
+
+
+class Cls(metaclass=unknown.path.MetaFoo):
+ pass