#NEWLINE# def check_iter_range( self , runs , value ) : #NEWLINE# #INDENT# for interval in range ( 1 , len ( value ) ) : #NEWLINE# #INDENT# it = runs . get_run_iterator ( ) #NEWLINE# for start in range ( 0 , len ( v ) , interval ) : #NEWLINE# #INDENT# end = min ( ( start + interval ) , len ( value ) ) #NEWLINE# for ( s , e , style ) in it . ranges ( start , end ) : #NEWLINE# #INDENT# for v in value [ s : e ] : #NEWLINE# #INDENT# self . assertTrue ( ( v == style ) , ( start , end , s , e , style ) )