Fix test errors.
This commit is contained in:
parent
8d27f898b2
commit
4c799191a2
|
@ -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
|
||||||
|
|
|
@ -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( ):
|
||||||
|
|
Loading…
Reference in New Issue