#NEWLINE# def test_nbytes( self ) : #NEWLINE# #INDENT# i = RangeIndex ( 0 , 1000 ) #NEWLINE# self . assertTrue ( ( i . nbytes < ( i . astype ( int ) . nbytes / 10 ) ) ) #NEWLINE# i2 = RangeIndex ( 0 , 10 ) #NEWLINE# self . assertEqual ( i . nbytes , i2 . nbytes )