Skip to content

Commit 8be7ca6

Browse files
committed
Add docstrings to test cases
1 parent b8fc36a commit 8be7ca6

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

testsuite/test_all.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,12 @@
99

1010
ROOT_DIR = os.path.dirname(os.path.dirname(__file__))
1111

12+
# Note: please only use a subset of unittest methods which were present
13+
# in Python 2.5: assert(True|False|Equal|NotEqual|Raises)
14+
1215

1316
class Pep8TestCase(unittest.TestCase):
17+
"""Test the standard errors and warnings (E and W)."""
1418

1519
def setUp(self):
1620
self._style = pep8.StyleGuide(
@@ -44,6 +48,7 @@ def test_own_dog_food(self):
4448

4549

4650
class APITestCase(unittest.TestCase):
51+
"""Test the public methods."""
4752

4853
def setUp(self):
4954
self._saved_checks = pep8._checks

0 commit comments

Comments
 (0)