#NEWLINE# def test_copy_shallow( self ) : #NEWLINE# #INDENT# arr2 = self . arr . copy ( deep = False ) #NEWLINE# def _get_base( values ) : #NEWLINE# #INDENT# base = values . base #NEWLINE# while ( base . base is not None ) : #NEWLINE# #INDENT# base = base . base #NEWLINE# #UNINDENT# return base #NEWLINE# #UNINDENT# assert ( _get_base ( self ) is _get_base ( self . arr ) )