Kaydet (Commit) 992d3875 authored tarafından Fred Drake's avatar Fred Drake

Convert a couple of comments to docstrings -- PyUnit can use these when

the regression test is run in verbose mode.
üst 95b3f786
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment