@@ -38,7 +38,7 @@ def test_max(x, data):
3838 ph .assert_dtype ("max" , x .dtype , out .dtype )
3939 _axes = sh .normalise_axis (kw .get ("axis" , None ), x .ndim )
4040 ph .assert_keepdimable_shape (
41- "max" , out .shape , x .shape , _axes , kw .get ("keepdims" , False ), ** kw
41+ "max" , x .shape , out .shape , _axes , kw .get ("keepdims" , False ), ** kw
4242 )
4343 scalar_type = dh .get_scalar_type (out .dtype )
4444 for indices , out_idx in zip (sh .axes_ndindex (x .shape , _axes ), sh .ndindex (out .shape )):
@@ -67,7 +67,7 @@ def test_mean(x, data):
6767 ph .assert_dtype ("mean" , x .dtype , out .dtype )
6868 _axes = sh .normalise_axis (kw .get ("axis" , None ), x .ndim )
6969 ph .assert_keepdimable_shape (
70- "mean" , out .shape , x .shape , _axes , kw .get ("keepdims" , False ), ** kw
70+ "mean" , x .shape , out .shape , _axes , kw .get ("keepdims" , False ), ** kw
7171 )
7272 # Values testing mean is too finicky
7373
@@ -88,7 +88,7 @@ def test_min(x, data):
8888 ph .assert_dtype ("min" , x .dtype , out .dtype )
8989 _axes = sh .normalise_axis (kw .get ("axis" , None ), x .ndim )
9090 ph .assert_keepdimable_shape (
91- "min" , out .shape , x .shape , _axes , kw .get ("keepdims" , False ), ** kw
91+ "min" , x .shape , out .shape , _axes , kw .get ("keepdims" , False ), ** kw
9292 )
9393 scalar_type = dh .get_scalar_type (out .dtype )
9494 for indices , out_idx in zip (sh .axes_ndindex (x .shape , _axes ), sh .ndindex (out .shape )):
@@ -147,7 +147,7 @@ def test_prod(x, data):
147147 ph .assert_dtype ("prod" , x .dtype , out .dtype , _dtype )
148148 _axes = sh .normalise_axis (kw .get ("axis" , None ), x .ndim )
149149 ph .assert_keepdimable_shape (
150- "prod" , out .shape , x .shape , _axes , kw .get ("keepdims" , False ), ** kw
150+ "prod" , x .shape , out .shape , _axes , kw .get ("keepdims" , False ), ** kw
151151 )
152152 scalar_type = dh .get_scalar_type (out .dtype )
153153 for indices , out_idx in zip (sh .axes_ndindex (x .shape , _axes ), sh .ndindex (out .shape )):
@@ -194,7 +194,7 @@ def test_std(x, data):
194194
195195 ph .assert_dtype ("std" , x .dtype , out .dtype )
196196 ph .assert_keepdimable_shape (
197- "std" , out .shape , x .shape , _axes , kw .get ("keepdims" , False ), ** kw
197+ "std" , x .shape , out .shape , _axes , kw .get ("keepdims" , False ), ** kw
198198 )
199199 # We can't easily test the result(s) as standard deviation methods vary a lot
200200
@@ -245,7 +245,7 @@ def test_sum(x, data):
245245 ph .assert_dtype ("sum" , x .dtype , out .dtype , _dtype )
246246 _axes = sh .normalise_axis (kw .get ("axis" , None ), x .ndim )
247247 ph .assert_keepdimable_shape (
248- "sum" , out .shape , x .shape , _axes , kw .get ("keepdims" , False ), ** kw
248+ "sum" , x .shape , out .shape , _axes , kw .get ("keepdims" , False ), ** kw
249249 )
250250 scalar_type = dh .get_scalar_type (out .dtype )
251251 for indices , out_idx in zip (sh .axes_ndindex (x .shape , _axes ), sh .ndindex (out .shape )):
@@ -292,6 +292,6 @@ def test_var(x, data):
292292
293293 ph .assert_dtype ("var" , x .dtype , out .dtype )
294294 ph .assert_keepdimable_shape (
295- "var" , out .shape , x .shape , _axes , kw .get ("keepdims" , False ), ** kw
295+ "var" , x .shape , out .shape , _axes , kw .get ("keepdims" , False ), ** kw
296296 )
297297 # We can't easily test the result(s) as variance methods vary a lot
0 commit comments