Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 992d387

Browse files
committed
Convert a couple of comments to docstrings -- PyUnit can use these when
the regression test is run in verbose mode.
1 parent 95b3f78 commit 992d387

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Lib/test/test_pprint.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ def setUp(self):
1212
self.a[-12] = self.b
1313

1414
def test_basic(self):
15-
# Verify that .isrecursive() and .isreadable() work w/o recursion.
15+
"""Verify .isrecursive() and .isreadable() w/o recursion."""
1616
verify = self.assert_
1717
for safe in (2, 2.0, 2j, "abc", [3], (2,2), {3: 3}, u"yaddayadda",
1818
self.a, self.b):
@@ -22,7 +22,7 @@ def test_basic(self):
2222
"expected isreadable for " + `safe`)
2323

2424
def test_knotted(self):
25-
# Verify that .isrecursive() and .isreadable() work w/ recursion.
25+
"""Verify .isrecursive() and .isreadable() w/ recursion."""
2626
# Tie a knot.
2727
self.b[67] = self.a
2828
# Messy dict.

0 commit comments

Comments
 (0)