[Python-checkins] CVS: python/dist/src/Lib/test test_minidom.py,1.8,1.9

Martin v. Löwis python-dev@python.org
Fri, 6 Oct 2000 15:42:58 -0700


Update of /cvsroot/python/python/dist/src/Lib/test
In directory slayer.i.sourceforge.net:/tmp/cvs-serv8524

Modified Files:
	test_minidom.py 
Log Message:
Add .toxml test case, as proposed by Alex Martelli in bug report #116244.


Index: test_minidom.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_minidom.py,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** test_minidom.py	2000/09/26 18:00:20	1.8
--- test_minidom.py	2000/10/06 22:42:54	1.9
***************
*** 247,251 ****
  def testTextNodeRepr(): pass
  
! def testWriteXML(): pass
  
  def testProcessingInstruction(): pass
--- 247,256 ----
  def testTextNodeRepr(): pass
  
! def testWriteXML():
!     str = '<a b="c"/>'
!     dom = parseString(str)
!     domstr = dom.toxml()
!     dom.unlink()
!     confirm(str == domstr)
  
  def testProcessingInstruction(): pass