summaryrefslogtreecommitdiff
path: root/tests/input/w0801_same.py
blob: 45b57b441ee0b9b6c3969d94151f6ba31554b8be (plain)
1
2
3
4
5
6
7
8
9
10
11
"""test code similarities
by default 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