#NEWLINE# @ raises ( RuntimeError ) #NEWLINE# def test_incorrect_sample_size( ) : #NEWLINE# #INDENT# ( problem , param_values ) = setup_samples ( ) #NEWLINE# Y = Ishigami . evaluate ( param_values ) #NEWLINE# sobol . analyze ( problem , Y [ : ( - 10 ) ] , calc_second_order = True )