diff options
author | Fredrik Lundh <fredrik@pythonware.com> | 2001-01-17 21:51:36 (GMT) |
---|---|---|
committer | Fredrik Lundh <fredrik@pythonware.com> | 2001-01-17 21:51:36 (GMT) |
commit | f785042433f0c43ed1ba2ba0388fc51d79bcf5c3 (patch) | |
tree | bc76d2b9fc810d645ca3648bc1c4fdac9bb0a769 /Lib/test/test_minidom.py | |
parent | f27cc5bc74372032ce9c42e9f6321458df6da2f7 (diff) | |
download | cpython-f785042433f0c43ed1ba2ba0388fc51d79bcf5c3.zip cpython-f785042433f0c43ed1ba2ba0388fc51d79bcf5c3.tar.gz cpython-f785042433f0c43ed1ba2ba0388fc51d79bcf5c3.tar.bz2 |
a bold attempt to fix things broken by MAL's verify patch: import
'verify' iff it's used by a test module...
Diffstat (limited to 'Lib/test/test_minidom.py')
-rw-r--r-- | Lib/test/test_minidom.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/test/test_minidom.py b/Lib/test/test_minidom.py index 72f3e40..e41cf8b 100644 --- a/Lib/test/test_minidom.py +++ b/Lib/test/test_minidom.py @@ -7,7 +7,7 @@ import xml.parsers.expat import os.path import sys import traceback -from test_support import verify, verbose +from test_support import verbose if __name__ == "__main__": base = sys.argv[0] @@ -81,7 +81,7 @@ def testLegalChildren(): dom = Document() elem = dom.createElement('element') text = dom.createTextNode('text') - + try: dom.appendChild(text) except HierarchyRequestErr: pass else: @@ -99,7 +99,7 @@ def testLegalChildren(): print "dom.appendChild didn't raise HierarchyRequestErr" elem.appendChild(text) - dom.unlink() + dom.unlink() def testNonZero(): dom = parse(tstfile) @@ -395,7 +395,7 @@ def _testCloneElementCopiesAttributes(e1, e2, test): , "clone of attribute node has proper attribute values") confirm(a2.ownerElement is e2, "clone of attribute node correctly owned") - + def testCloneDocumentShallow(): pass |