~ubuntu-branches/ubuntu/trusty/pylint/trusty

« back to all changes in this revision

Viewing changes to test/input/func_w0801.py

  • Committer: Bazaar Package Importer
  • Author(s): Sylvain Thénault
  • Date: 2006-09-25 16:46:40 UTC
  • mfrom: (1.2.1 upstream) (2.1.4 feisty)
  • Revision ID: james.westby@ubuntu.com-20060925164640-obkb6g34gqtyk20n
new uptream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
"""test code similarities
2
 
 
 
2
by defaut docstring are not considered
3
3
"""
4
4
__revision__ = 'id'
5
 
a = 2
6
 
b = 3
7
 
c = a + b
 
5
A = 2
 
6
B = 3
 
7
C = A + B
 
8
# need more than X lines to trigger the message
 
9
C *= 2
 
10
A -= B
8
11
# all this should be detected