[Python-checkins] python/dist/src/Lib/test test_minidom.py,1.37,1.38
loewis@users.sourceforge.net
loewis@users.sourceforge.net
Sat, 25 Jan 2003 14:02:55 -0800
Update of /cvsroot/python/python/dist/src/Lib/test
In directory sc8-pr-cvs1:/tmp/cvs-serv7751
Modified Files:
test_minidom.py
Log Message:
Synchronize with PyXML's 1.33: Import missing modules.
Index: test_minidom.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_minidom.py,v
retrieving revision 1.37
retrieving revision 1.38
diff -C2 -d -r1.37 -r1.38
*** test_minidom.py 25 Jan 2003 21:39:09 -0000 1.37
--- test_minidom.py 25 Jan 2003 22:02:52 -0000 1.38
***************
*** 3,14 ****
import os
import sys
import traceback
!
from test.test_support import verbose
import xml.dom
import xml.parsers.expat
from xml.dom.minidom import parse, Node, Document, parseString
if __name__ == "__main__":
--- 3,18 ----
import os
import sys
+ import pickle
import traceback
! from StringIO import StringIO
from test.test_support import verbose
import xml.dom
+ import xml.dom.minidom
import xml.parsers.expat
from xml.dom.minidom import parse, Node, Document, parseString
+ from xml.dom.minidom import getDOMImplementation
+
if __name__ == "__main__":
***************
*** 25,29 ****
def testParseFromFile():
- from StringIO import StringIO
dom = parse(StringIO(open(tstfile).read()))
dom.unlink()
--- 29,32 ----
***************
*** 1330,1334 ****
Node.allnodes
except AttributeError:
! # We don't actually have the minidom from teh standard library,
# but are picking up the PyXML version from site-packages.
def check_allnodes():
--- 1333,1337 ----
Node.allnodes
except AttributeError:
! # We don't actually have the minidom from the standard library,
# but are picking up the PyXML version from site-packages.
def check_allnodes():