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/E30.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/E30.py')
-rw-r--r-- | testsuite/E30.py | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/testsuite/E30.py b/testsuite/E30.py new file mode 100644 index 0000000..e2d6271 --- /dev/null +++ b/testsuite/E30.py @@ -0,0 +1,66 @@ +#: E301 +class X: + + def a(): + pass + def b(): + pass +#: E301 +class X: + + def a(): + pass + # comment + def b(): + pass +#: + + +#: E302 +def a(): + pass + +def b(): + pass +#: E302 +def a(): + pass + +# comment + +def b(): + pass +#: + + +#: E303 +print + + + +print +#: E303 +print + + + +# comment + +print +#: E303 +def a(): + print + + + # comment + + print +#: + + +#: E304 +@decorator + +def function(): + pass +#: |