summaryrefslogtreecommitdiff
path: root/pylint/test/input/func_w0406.py
diff options
context:
space:
mode:
Diffstat (limited to 'pylint/test/input/func_w0406.py')
-rw-r--r--pylint/test/input/func_w0406.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/pylint/test/input/func_w0406.py b/pylint/test/input/func_w0406.py
new file mode 100644
index 0000000..84a5550
--- /dev/null
+++ b/pylint/test/input/func_w0406.py
@@ -0,0 +1,9 @@
+"""test module importing itself"""
+# pylint: disable=no-absolute-import
+from __future__ import print_function
+__revision__ = 0
+
+import func_w0406
+
+if __revision__:
+ print(func_w0406)