@@ -165,19 +165,19 @@ def test_np_percentile(q):
165165 # Verify that numpy throws type errors when we return NotImplemented
166166 # when using optional parameters
167167 with pytest .raises (TypeError ):
168- np .percentile (y_true_snow_2d , axis = 1 )
168+ np .percentile (y_true_snow_2d , 50 , axis = 1 )
169169 with pytest .raises (TypeError ):
170- np .percentile (y_true_snow_2d , out = np .zeros (1 ))
170+ np .percentile (y_true_snow_2d , 50 , out = np .zeros (1 ))
171171 with pytest .raises (TypeError ):
172- np .percentile (y_true_snow_2d , overwrite_input = True )
172+ np .percentile (y_true_snow_2d , 50 , overwrite_input = True )
173173 with pytest .raises (TypeError ):
174- np .percentile (y_true_snow_2d , method = "inverted_cdf" )
174+ np .percentile (y_true_snow_2d , 50 , method = "inverted_cdf" )
175175 with pytest .raises (TypeError ):
176- np .percentile (y_true_snow_2d , keepdims = True )
176+ np .percentile (y_true_snow_2d , 50 , keepdims = True )
177177 with pytest .raises (TypeError ):
178- np .percentile (y_true_snow_2d , weights = [0.25 , 0.25 , 0.25 , 0.25 ])
178+ np .percentile (y_true_snow_2d , 50 , weights = [0.25 , 0.25 , 0.25 , 0.25 ])
179179 with pytest .raises (TypeError ):
180- np .percentile (y_true_snow_2d , interpolation = "inverted_cdf" )
180+ np .percentile (y_true_snow_2d , 50 , interpolation = "inverted_cdf" )
181181
182182
183183def test_logical_operators ():
0 commit comments