summaryrefslogtreecommitdiff
path: root/test/input/func_all_undefined.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/input/func_all_undefined.py')
-rw-r--r--test/input/func_all_undefined.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/input/func_all_undefined.py b/test/input/func_all_undefined.py
new file mode 100644
index 0000000..4dd167c
--- /dev/null
+++ b/test/input/func_all_undefined.py
@@ -0,0 +1,8 @@
+"""Test that non-inferable __all__ variables do not make PyLint crash.
+
+"""
+# pylint: disable=R0903,R0201,W0612
+
+__revision__ = 0
+
+__all__ = [SomeUndefinedName]