#NEWLINE# def test_getslice( self ) : #NEWLINE# #INDENT# super ( ) . test_getslice ( ) #NEWLINE# l = [ 0 , 1 , 2 , 3 , 4 ] #NEWLINE# u = self . type2test ( l ) #NEWLINE# for i in range ( ( - 3 ) , 6 ) : #NEWLINE# #INDENT# self . assertEqual ( self [ : i ] , l [ : i ] ) #NEWLINE# self . assertEqual ( u [ i : ] , l [ i : ] ) #NEWLINE# for j in range ( ( - 3 ) , 6 ) : #NEWLINE# #INDENT# self . assertEqual ( u [ i : j ] , l [ i : j ] )