summaryrefslogtreecommitdiff
path: root/numpy/lib/tests/test_nanfunctions.py
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2021-09-13 16:42:11 -0600
committerGitHub <noreply@github.com>2021-09-13 16:42:11 -0600
commiteb6ae9b45f7aadbf64c581b0db3a7ca74ac8ff0a (patch)
tree9be702224df6efad862a9518222e7ef21116031a /numpy/lib/tests/test_nanfunctions.py
parent705c54c688bf1bdf5562624b8971c228faaed675 (diff)
downloadnumpy-eb6ae9b45f7aadbf64c581b0db3a7ca74ac8ff0a.tar.gz
MAINT: Make parameters match label.
Diffstat (limited to 'numpy/lib/tests/test_nanfunctions.py')
-rw-r--r--numpy/lib/tests/test_nanfunctions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/lib/tests/test_nanfunctions.py b/numpy/lib/tests/test_nanfunctions.py
index d2403b2fd..3fdeec41c 100644
--- a/numpy/lib/tests/test_nanfunctions.py
+++ b/numpy/lib/tests/test_nanfunctions.py
@@ -465,8 +465,8 @@ class TestNanFunctions_CumSumProd(SharedNanFunctionsTestsMixin):
@pytest.mark.parametrize("axis", [None, 0, 1])
@pytest.mark.parametrize("dtype", np.typecodes["AllFloat"])
@pytest.mark.parametrize("array", [
- np.full((3, 3), np.nan),
np.array(np.nan),
+ np.full((3, 3), np.nan)
], ids=["0d", "2d"])
def test_allnans(self, axis, dtype, array):
if axis is not None and array.ndim == 0: