summaryrefslogtreecommitdiff
path: root/tests/functional/uninferable_all_object.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functional/uninferable_all_object.py')
-rw-r--r--tests/functional/uninferable_all_object.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/functional/uninferable_all_object.py b/tests/functional/uninferable_all_object.py
new file mode 100644
index 000000000..3e565f9eb
--- /dev/null
+++ b/tests/functional/uninferable_all_object.py
@@ -0,0 +1,9 @@
+"""Test that non-inferable __all__ variables do not make Pylint crash."""
+
+__all__ = sorted([
+ 'Dummy',
+ 'NonExistant',
+ 'path',
+ 'func',
+ 'inner',
+ 'InnerKlass'])