summaryrefslogtreecommitdiff
path: root/test/input/func_w0403.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/input/func_w0403.py')
-rw-r--r--test/input/func_w0403.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/input/func_w0403.py b/test/input/func_w0403.py
new file mode 100644
index 000000000..72fb79502
--- /dev/null
+++ b/test/input/func_w0403.py
@@ -0,0 +1,12 @@
+"""test deprecated module
+"""
+
+__revision__ = 0
+
+
+if __revision__:
+ import Bastion
+ print Bastion
+ # false positive (#10061)
+ import stringfile
+ print stringfile