From 4c799191a2019d21fbeca07ab459751ec857ef0c Mon Sep 17 00:00:00 2001 From: Paul Prescod Date: Tue, 19 Sep 2000 19:33:02 +0000 Subject: [PATCH] Fix test errors. --- Lib/test/output/test_minidom | 2 -- Lib/test/test_minidom.py | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Lib/test/output/test_minidom b/Lib/test/output/test_minidom index ca7fb7bb4f6..2a698277597 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 bc62ec3b435..05612b24f63 100644 --- a/Lib/test/test_minidom.py +++ b/Lib/test/test_minidom.py @@ -26,6 +26,7 @@ def confirm( test, testname="Test" ): def testParseFromFile(): from StringIO import StringIO dom=parse( StringIO( open( tstfile ).read() ) ) + dom.unlink() confirm(isinstance(dom,Document)) def testGetElementsByTagName( ):