#NEWLINE# def testBackrefCounts( self ) : #NEWLINE# #INDENT# parsed = sre_yield . AllStrings ( '([abc])-\\1' ) #NEWLINE# self . assertEqual ( 3 , len ( parsed ) ) #NEWLINE# self . assertEqual ( [ 'a-a' , 'b-b' , 'c-c' ] , parsed [ : ] )