summaryrefslogtreecommitdiff
path: root/test/input/w0801_same.py
diff options
context:
space:
mode:
authorroot <devnull@localhost>2006-04-26 10:48:09 +0000
committerroot <devnull@localhost>2006-04-26 10:48:09 +0000
commiteea76f1da01a33dec2afc42119e001e4350aaea2 (patch)
tree3bb03a16daa8c780bf60c622dc288eb01cfca145 /test/input/w0801_same.py
downloadpylint-eea76f1da01a33dec2afc42119e001e4350aaea2.tar.gz
forget the past.
forget the past.
Diffstat (limited to 'test/input/w0801_same.py')
-rw-r--r--test/input/w0801_same.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/input/w0801_same.py b/test/input/w0801_same.py
new file mode 100644
index 0000000..cd386ff
--- /dev/null
+++ b/test/input/w0801_same.py
@@ -0,0 +1,11 @@
+"""test code similarities
+by defaut docstring are not considered
+"""
+__revision__ = 'id'
+A = 2
+B = 3
+C = A + B
+# need more than X lines to trigger the message
+C *= 2
+A -= B
+# all this should be detected