third_party.pylibs.pylint.src/pylint/test/input/w0801_same.py
2015-02-14 18:13:20 +02:00

12 lines
203 B
Python

"""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