#NEWLINE# def test_check_finite( self ) : #NEWLINE# #INDENT# a = [ [ 1 , 2 , 3 ] , [ 1 , 2 , 3 ] , [ 2 , 5 , 6 ] ] #NEWLINE# w = eigvals ( w , check_finite = False ) #NEWLINE# exact_w = [ ( ( 9 + sqrt ( 93 ) ) / 2 ) , 0 , ( ( 9 - sqrt ( 93 ) ) / 2 ) ] #NEWLINE# assert_array_almost_equal ( w , exact_w )