diff options
author | Paul Prescod <prescod@prescod.net> | 2000-09-19 19:33:02 (GMT) |
---|---|---|
committer | Paul Prescod <prescod@prescod.net> | 2000-09-19 19:33:02 (GMT) |
commit | 4c799191a2019d21fbeca07ab459751ec857ef0c (patch) | |
tree | efc8c633fe20f5b2d391be6a3e5d63d6e65f2c54 | |
parent | 8d27f898b2a601039859cc12e105f567e5d0e946 (diff) | |
download | cpython-4c799191a2019d21fbeca07ab459751ec857ef0c.zip cpython-4c799191a2019d21fbeca07ab459751ec857ef0c.tar.gz cpython-4c799191a2019d21fbeca07ab459751ec857ef0c.tar.bz2 |
Fix test errors.
-rw-r--r-- | Lib/test/output/test_minidom | 2 | ||||
-rw-r--r-- | Lib/test/test_minidom.py | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/Lib/test/output/test_minidom b/Lib/test/output/test_minidom index ca7fb7b..2a69827 100644 --- a/Lib/test/output/test_minidom +++ b/Lib/test/output/test_minidom @@ -82,8 +82,6 @@ Test Succeeded testParseElement Test Succeeded testParseElementNamespaces Passed Test Test Succeeded testParseFromFile -Garbage left over: -258 Test Succeeded testParseProcessingInstructions Test Succeeded testParseString Test Succeeded testProcessingInstruction diff --git a/Lib/test/test_minidom.py b/Lib/test/test_minidom.py index bc62ec3..05612b2 100644 --- a/Lib/test/test_minidom.py +++ b/Lib/test/test_minidom.py @@ -26,6 +26,7 @@ Node._debug=1 def testParseFromFile(): from StringIO import StringIO dom=parse( StringIO( open( tstfile ).read() ) ) + dom.unlink() confirm(isinstance(dom,Document)) def testGetElementsByTagName( ): |