aboutsummaryrefslogtreecommitdiff
path: root/tests/input/w0801_same.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/input/w0801_same.py')
-rw-r--r--tests/input/w0801_same.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/input/w0801_same.py b/tests/input/w0801_same.py
new file mode 100644
index 000000000..cd386ff55
--- /dev/null
+++ b/tests/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