#NEWLINE# def assertChildNodes( self , elem , expected ) : #NEWLINE# #INDENT# 'Taken from regressiontests/syndication/tests.py.' #NEWLINE# actual = set ( [ n . nodeName for n in elem . childNodes ] ) #NEWLINE# expected = set ( expected ) #NEWLINE# self . assertEqual ( elem , expected )