Mercurial > hg-stable
comparison tests/test-check-code.t @ 13077:6b8d2ee24ce2
coding style: fix yield used as a function
author | Thomas Arendsen Hein <thomas@jtah.de> |
---|---|
date | Fri, 03 Dec 2010 12:22:56 +0100 |
parents | 53391819f195 |
children | b071cd58af50 |
comparison
equal
deleted
inserted
replaced
13076:a861c7155f09 | 13077:6b8d2ee24ce2 |
---|---|
32 ./wrong.py:1: | 32 ./wrong.py:1: |
33 > def toto( arg1, arg2): | 33 > def toto( arg1, arg2): |
34 gratuitous whitespace in () or [] | 34 gratuitous whitespace in () or [] |
35 ./wrong.py:2: | 35 ./wrong.py:2: |
36 > del(arg2) | 36 > del(arg2) |
37 del isn't a function | 37 Python keyword is not a function |
38 ./wrong.py:3: | 38 ./wrong.py:3: |
39 > return ( 5+6, 9) | 39 > return ( 5+6, 9) |
40 missing whitespace in expression | 40 missing whitespace in expression |
41 gratuitous whitespace in () or [] | 41 gratuitous whitespace in () or [] |
42 ./quote.py:5: | 42 ./quote.py:5: |