Mercurial > cpython-lru_cache-weakref
diff Lib/test/test_pprint.py @ 17829:b54dbef1f8d3 legacy-trunk
Convert a couple of comments to docstrings -- PyUnit can use these when
the regression test is run in verbose mode.
| author | Fred Drake <fdrake@acm.org> |
|---|---|
| date | Mon, 14 May 2001 19:15:23 +0000 |
| parents | 26745053f840 |
| children | 7257e87e0720 |
line wrap: on
line diff
--- a/Lib/test/test_pprint.py Mon May 14 18:39:41 2001 +0000 +++ b/Lib/test/test_pprint.py Mon May 14 19:15:23 2001 +0000 @@ -12,7 +12,7 @@ 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 @@ "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.
