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( ):