diff options
author | Florent Xicluna <florent.xicluna@gmail.com> | 2013-03-01 18:48:11 +0100 |
---|---|---|
committer | Florent Xicluna <florent.xicluna@gmail.com> | 2013-03-01 18:48:11 +0100 |
commit | 8be7ca6a8c06cddbae27f6420cb3997313f83cc2 (patch) | |
tree | df4861ae0c969ef6038eb9fec04eab58acdfd677 /testsuite/test_all.py | |
parent | b8fc36a55f5638f9df76b16d742480c2cce8a7de (diff) | |
download | pep8-8be7ca6a8c06cddbae27f6420cb3997313f83cc2.tar.gz |
Add docstrings to test cases
Diffstat (limited to 'testsuite/test_all.py')
-rw-r--r-- | testsuite/test_all.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/test_all.py b/testsuite/test_all.py index e209bee..f547c5f 100644 --- a/testsuite/test_all.py +++ b/testsuite/test_all.py @@ -9,8 +9,12 @@ from testsuite.support import init_tests, selftest ROOT_DIR = os.path.dirname(os.path.dirname(__file__)) +# Note: please only use a subset of unittest methods which were present +# in Python 2.5: assert(True|False|Equal|NotEqual|Raises) + class Pep8TestCase(unittest.TestCase): + """Test the standard errors and warnings (E and W).""" def setUp(self): self._style = pep8.StyleGuide( @@ -44,6 +48,7 @@ class Pep8TestCase(unittest.TestCase): class APITestCase(unittest.TestCase): + """Test the public methods.""" def setUp(self): self._saved_checks = pep8._checks |