diff options
Diffstat (limited to 'pylint/test/input/w0801_same.py')
-rw-r--r-- | pylint/test/input/w0801_same.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/pylint/test/input/w0801_same.py b/pylint/test/input/w0801_same.py new file mode 100644 index 0000000..cd386ff --- /dev/null +++ b/pylint/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 |