#NEWLINE# def test_set_scalars( self ) : #NEWLINE# #INDENT# 'Test if SetScalars works without a segfault.' #NEWLINE# mesh = tvtk . PolyData ( ) #NEWLINE# sc = tvtk . FloatArray ( ) #NEWLINE# mesh . point_data . scalars = mesh