[Python-checkins] CVS: python/dist/src/Lib/test test_pprint.py,1.3,1.4
Fred L. Drake
fdrake@users.sourceforge.net
Mon, 14 May 2001 12:15:25 -0700
Update of /cvsroot/python/python/dist/src/Lib/test
In directory usw-pr-cvs1:/tmp/cvs-serv10896/Lib/test
Modified Files:
test_pprint.py
Log Message:
Convert a couple of comments to docstrings -- PyUnit can use these when
the regression test is run in verbose mode.
Index: test_pprint.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_pprint.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** test_pprint.py 2001/05/14 18:39:41 1.3
--- test_pprint.py 2001/05/14 19:15:23 1.4
***************
*** 13,17 ****
def test_basic(self):
! # Verify that .isrecursive() and .isreadable() work w/o recursion.
verify = self.assert_
for safe in (2, 2.0, 2j, "abc", [3], (2,2), {3: 3}, u"yaddayadda",
--- 13,17 ----
def test_basic(self):
! """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",
***************
*** 23,27 ****
def test_knotted(self):
! # Verify that .isrecursive() and .isreadable() work w/ recursion.
# Tie a knot.
self.b[67] = self.a
--- 23,27 ----
def test_knotted(self):
! """Verify .isrecursive() and .isreadable() w/ recursion."""
# Tie a knot.
self.b[67] = self.a