#NEWLINE# def test_vertexdata_set( ) : #NEWLINE# #INDENT# vd = cortex . Vertex ( np . random . randn ( nverts ) , subj ) #NEWLINE# newdata = np . random . randn ( nverts ) #NEWLINE# vd . data = newdata #NEWLINE# assert np . allclose ( newdata , vd . data )