mirror of https://github.com/python/cpython.git
Fix test errors.
This commit is contained in:
parent
8d27f898b2
commit
4c799191a2
|
@ -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
|
||||
|
|
|
@ -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( ):
|
||||
|
|
Loading…
Reference in New Issue