Fix test errors.

This commit is contained in:
Paul Prescod 2000-09-19 19:33:02 +00:00
parent 8d27f898b2
commit 4c799191a2
2 changed files with 1 additions and 2 deletions

View File

@ -82,8 +82,6 @@ Test Succeeded testParseElement
Test Succeeded testParseElementNamespaces Test Succeeded testParseElementNamespaces
Passed Test Passed Test
Test Succeeded testParseFromFile Test Succeeded testParseFromFile
Garbage left over:
258
Test Succeeded testParseProcessingInstructions Test Succeeded testParseProcessingInstructions
Test Succeeded testParseString Test Succeeded testParseString
Test Succeeded testProcessingInstruction Test Succeeded testProcessingInstruction

View File

@ -26,6 +26,7 @@ Node._debug=1
def testParseFromFile(): def testParseFromFile():
from StringIO import StringIO from StringIO import StringIO
dom=parse( StringIO( open( tstfile ).read() ) ) dom=parse( StringIO( open( tstfile ).read() ) )
dom.unlink()
confirm(isinstance(dom,Document)) confirm(isinstance(dom,Document))
def testGetElementsByTagName( ): def testGetElementsByTagName( ):