#NEWLINE# def it_provides_sliced_access_to_rows( self , slice_fixture ) : #NEWLINE# #INDENT# ( rows , start , end , expected_count ) = slice_fixture #NEWLINE# slice_of_rows = rows [ start : end ] #NEWLINE# assert ( len ( slice_of_rows ) == expected_count ) #NEWLINE# tr_lst = rows . _tbl . tr_lst #NEWLINE# for ( idx , row ) in enumerate ( slice_of_rows ) : #NEWLINE# #INDENT# assert ( tr_lst . index ( row . _tr ) == ( start + idx ) ) #NEWLINE# assert isinstance ( row , _Row )