#NEWLINE# def test_lazy_slicing_recursive( self ) : #NEWLINE# #INDENT# s = ( Stream ( ) << iters . range ( 10 ) ) #NEWLINE# sf = s [ 1 : 3 ] [ 0 : 2 ] #NEWLINE# self . assertEqual ( s . cursor ( ) , 0 ) #NEWLINE# self . assertEqual ( len ( list ( sf ) ) , 2 )