equal
deleted
inserted
replaced
10 def toto( arg1, arg2): |
10 def toto( arg1, arg2): |
11 del(arg2) |
11 del(arg2) |
12 return ( 5+6, 9) |
12 return ( 5+6, 9) |
13 EOF |
13 EOF |
14 |
14 |
|
15 cat > quote.py <<EOF |
|
16 (''' ( 4x5 ) |
|
17 but """\''' and finally''', |
|
18 """let's fool checkpatch""", '1+2', |
|
19 '"""', 42+1, """and |
|
20 ( 4-1 ) """, "( 1+1 )\" and ") |
|
21 EOF |
|
22 |
15 check_code=`dirname $0`/../contrib/check-code.py |
23 check_code=`dirname $0`/../contrib/check-code.py |
16 ${check_code} ./wrong.py ./correct.py |
24 ${check_code} ./wrong.py ./correct.py ./quote.py |