summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-05-14 19:15:23 (GMT)
committerFred Drake <fdrake@acm.org>2001-05-14 19:15:23 (GMT)
commit992d387540f01d8977c628013e80228ddf682810 (patch)
tree05459942f20456dfc0b0364c898719a117532f7b /Lib/test
parent95b3f7862260a3f91b7095e00e50931e1902c6c9 (diff)
downloadcpython-992d387540f01d8977c628013e80228ddf682810.zip
cpython-992d387540f01d8977c628013e80228ddf682810.tar.gz
cpython-992d387540f01d8977c628013e80228ddf682810.tar.bz2
Convert a couple of comments to docstrings -- PyUnit can use these when
the regression test is run in verbose mode.
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_pprint.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_pprint.py b/Lib/test/test_pprint.py
index 25d806d..ba53ee8 100644
--- a/Lib/test/test_pprint.py
+++ b/Lib/test/test_pprint.py
@@ -12,7 +12,7 @@ class QueryTestCase(unittest.TestCase):
self.a[-12] = self.b
def test_basic(self):
- # Verify that .isrecursive() and .isreadable() work w/o recursion.
+ """Verify .isrecursive() and .isreadable() w/o recursion."""
verify = self.assert_
for safe in (2, 2.0, 2j, "abc", [3], (2,2), {3: 3}, u"yaddayadda",
self.a, self.b):
@@ -22,7 +22,7 @@ class QueryTestCase(unittest.TestCase):
"expected isreadable for " + `safe`)
def test_knotted(self):
- # Verify that .isrecursive() and .isreadable() work w/ recursion.
+ """Verify .isrecursive() and .isreadable() w/ recursion."""
# Tie a knot.
self.b[67] = self.a
# Messy dict.