third_party.pylibs.pylint.src/pylint/test/input/w0801_same.py

12 lines
203 B
Python
Raw Normal View History

2006-04-26 10:48:09 +00:00
"""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