#NEWLINE# def assertSuitesEqual( self , observed , expected ) : #NEWLINE# #INDENT# '\n        Assert that the given test suites with decorated tests are equal.\n        ' #NEWLINE# self . assertEqual ( observed . __class__ , expected . __class__ , 'Different class' ) #NEWLINE# self . assertEqual ( len ( observed . _tests ) , len ( observed . _tests ) , 'Different number of tests.' ) #NEWLINE# for ( observedTest , expectedTest ) in zip ( observed . _tests , expected . _tests ) : #NEWLINE# #INDENT# if ( getattr ( observedTest , '_tests' , None ) is not None ) : #NEWLINE# #INDENT# self . assertSuitesEqual ( observedTest , expectedTest ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . assertTestsEqual ( observedTest , expectedTest )