File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ script:
1313 - python pep8.py --testsuite testsuite
1414 - python pep8.py --statistics pep8.py
1515 - python pep8.py --doctest
16+ - python -m testsuite.test_all
1617matrix :
1718 allow_failures :
1819 - python : pypy
Original file line number Diff line number Diff line change @@ -20,6 +20,8 @@ Changelog
2020* Do not report false E302 when the source file has a coding cookie or a
2121 comment on the first line. (Issue #174)
2222
23+ * Reorganize the tests and add basic tests for the API. (Issue #161)
24+
2325
24261.4.4 (2013-02-24)
2527------------------
Original file line number Diff line number Diff line change @@ -7,4 +7,7 @@ selftest :
77doctest :
88 python pep8.py --doctest
99
10- alltest : test selftest doctest
10+ unittest :
11+ python -m testsuite.test_all
12+
13+ alltest : test selftest doctest unittest
Original file line number Diff line number Diff line change @@ -52,4 +52,5 @@ def get_long_description():
5252 'Programming Language :: Python :: 3' ,
5353 'Topic :: Software Development :: Libraries :: Python Modules' ,
5454 ],
55+ test_suite = 'testsuite.test_all' ,
5556)
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ commands =
1212 {envpython} pep8.py --testsuite testsuite
1313 {envpython} pep8.py --statistics pep8.py
1414 {envpython} pep8.py --doctest
15+ {envpython} pep8.py -m testsuite.test_all
1516
1617[pep8]
1718select =
You can’t perform that action at this time.
0 commit comments