diff options
author | Florent Xicluna <florent.xicluna@gmail.com> | 2010-09-11 11:27:26 +0200 |
---|---|---|
committer | Florent Xicluna <florent.xicluna@gmail.com> | 2010-09-11 11:27:26 +0200 |
commit | 8d2d68790b6931833277cd671dfb8158962fac0c (patch) | |
tree | eb7c1d031081589502101fd9b3d866486b6d8053 /testsuite/E21.py | |
parent | 50a8e3e47f76ecc56a1d289f4e839de40fc02746 (diff) | |
download | pep8-8d2d68790b6931833277cd671dfb8158962fac0c.tar.gz |
Reorganize the test suite in order to check more failures with fewer test files.
--HG--
rename : testsuite/E101.py => testsuite/E10.py
rename : testsuite/E111.py => testsuite/E11.py
rename : testsuite/E202not.py => testsuite/E20.py
rename : testsuite/E211not.py => testsuite/E21.py
rename : testsuite/E225not.py => testsuite/E22.py
rename : testsuite/E231.py => testsuite/E23.py
rename : testsuite/E241.py => testsuite/E24.py
rename : testsuite/E251.py => testsuite/E25.py
rename : testsuite/E261.py => testsuite/E26.py
rename : testsuite/E301.py => testsuite/E30.py
rename : testsuite/E301not.py => testsuite/E30not.py
rename : testsuite/E401.py => testsuite/E40.py
rename : testsuite/E501.py => testsuite/E50.py
rename : testsuite/E701.py => testsuite/E70.py
rename : testsuite/W191.py => testsuite/W19.py
rename : testsuite/W292.py => testsuite/W29.py
rename : testsuite/W391.py => testsuite/W39.py
rename : testsuite/W601.py => testsuite/W60.py
rename : testsuite/E113not.py => testsuite/latin-1.py
rename : testsuite/E501not.py => testsuite/utf-8.py
Diffstat (limited to 'testsuite/E21.py')
-rw-r--r-- | testsuite/E21.py | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/testsuite/E21.py b/testsuite/E21.py new file mode 100644 index 0000000..2280caf --- /dev/null +++ b/testsuite/E21.py @@ -0,0 +1,17 @@ +#: E211 +spam (1) +#: E211 +dict ['key'] = list [index] +#: E211 +dict['key'] ['subkey'] = list[index] +#: E225 +def squares(n): + return (i**2 for i in range(n)) +#: Okay +spam(1) +dict['key'] = list[index] + + +# This is not prohibited by PEP8, but avoid it. +class Foo (Bar, Baz): + pass |