diff options
| author | Sebastian Berg <sebastian@sipsolutions.net> | 2023-03-26 20:19:05 +0200 |
|---|---|---|
| committer | Sebastian Berg <sebastian@sipsolutions.net> | 2023-03-26 20:19:05 +0200 |
| commit | df1e5502463ab7586366beaeef086404162cabf2 (patch) | |
| tree | db4fd89c2caefb3f16b38dfdd02b054b976f104e /numpy | |
| parent | a37978a106073eaec5cb9e0cb54785fafb639650 (diff) | |
| download | numpy-df1e5502463ab7586366beaeef086404162cabf2.tar.gz | |
TST: Fix failing test (introduced deprecation after written)
Diffstat (limited to 'numpy')
| -rw-r--r-- | numpy/core/tests/test_multiarray.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/core/tests/test_multiarray.py b/numpy/core/tests/test_multiarray.py index 77f651659..3f3c1de8e 100644 --- a/numpy/core/tests/test_multiarray.py +++ b/numpy/core/tests/test_multiarray.py @@ -7225,11 +7225,11 @@ class TestMatmulInplace: @pytest.mark.parametrize("a_shape,b_shape", SHAPES.values(), ids=SHAPES) def test_shapes(self, a_shape: tuple[int, ...], b_shape: tuple[int, ...]): - a_size = np.product(a_shape) + a_size = np.prod(a_shape) a = np.arange(a_size).reshape(a_shape).astype(np.float64) a_id = id(a) - b_size = np.product(b_shape) + b_size = np.prod(b_shape) b = np.arange(b_size).reshape(b_shape) ref = a @ b |
