#NEWLINE# def test_nanvar_all_finite( self ) : #NEWLINE# #INDENT# samples = self . samples #NEWLINE# actual_variance = nanops . nanvar ( samples ) #NEWLINE# np . testing . assert_almost_equal ( actual_variance , self . variance , decimal = 2 )