#NEWLINE# def test_volumedata_copy( ) : #NEWLINE# #INDENT# v = cortex . Volume ( np . random . randn ( * volshape ) , subj , xfmname ) #NEWLINE# vc = v . copy ( v . data ) #NEWLINE# assert np . allclose ( v . data , vc . data )