summaryrefslogtreecommitdiff
path: root/pylint/test/input/func_e0604.py
diff options
context:
space:
mode:
Diffstat (limited to 'pylint/test/input/func_e0604.py')
-rw-r--r--pylint/test/input/func_e0604.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/pylint/test/input/func_e0604.py b/pylint/test/input/func_e0604.py
new file mode 100644
index 0000000..d077f31
--- /dev/null
+++ b/pylint/test/input/func_e0604.py
@@ -0,0 +1,13 @@
+"""Test for invalid objects in a module's __all__ variable.
+
+"""
+# pylint: disable=R0903,R0201,W0612
+
+__revision__ = 0
+
+def some_function():
+ """Just a function."""
+ pass
+
+
+__all__ = [some_function]