[Docstring-checkins] CVS: dps/dps test_nodes.py,1.2,1.3
Status: Pre-Alpha
Brought to you by:
goodger
From: David G. <go...@us...> - 2001-09-07 02:05:24
|
Update of /cvsroot/docstring/dps/dps In directory usw-pr-cvs1:/tmp/cvs-serv31616/dps/dps Modified Files: test_nodes.py Log Message: updated Index: test_nodes.py =================================================================== RCS file: /cvsroot/docstring/dps/dps/test_nodes.py,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** test_nodes.py 2001/08/23 03:55:34 1.2 --- test_nodes.py 2001/09/07 02:05:22 1.3 *************** *** 36,41 **** self.assertEquals(self.text.astext(), 'Line 1.\nLine 2.') ! def test_pprint(self): ! self.assertEquals(self.text.pprint(), 'Line 1.\nLine 2.\n') --- 36,41 ---- self.assertEquals(self.text.astext(), 'Line 1.\nLine 2.') ! def test_pformat(self): ! self.assertEquals(self.text.pformat(), 'Line 1.\nLine 2.\n') *************** *** 55,59 **** self.assertEquals(dom.toxml(), '<_Element attr="1"/>') dom.unlink() ! self.assertEquals(element.pprint(), '<_Element attr="1"/>\n') def test_withtext(self): --- 55,59 ---- self.assertEquals(dom.toxml(), '<_Element attr="1"/>') dom.unlink() ! self.assertEquals(element.pformat(), '<_Element attr="1"/>\n') def test_withtext(self): *************** *** 72,76 **** '<_Element attr="1">text\nmore</_Element>') dom.unlink() ! self.assertEquals(element.pprint(), """\ <_Element attr="1"> --- 72,76 ---- '<_Element attr="1">text\nmore</_Element>') dom.unlink() ! self.assertEquals(element.pformat(), """\ <_Element attr="1"> |