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
Passed Test
Test Succeeded testParseFromFile
Garbage left over:
258
Test Succeeded testParseProcessingInstructions
Test Succeeded testParseString
Test Succeeded testProcessingInstruction

View File

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