summaryrefslogtreecommitdiff
path: root/numpy/lib
diff options
context:
space:
mode:
authorMatti Picus <matti.picus@gmail.com>2022-07-14 15:31:52 +0300
committerGitHub <noreply@github.com>2022-07-14 15:31:52 +0300
commitcb28cd17d01a6a867517a3b8b3ea4fbb0370be10 (patch)
tree62af790d75fce59fc769ad398e0be721709c109c /numpy/lib
parentb8192d168315f463d96174625fd3fac92dfcc73b (diff)
parentdb1a98bf194771a677dbc0c2e06bc47f4a9947a8 (diff)
downloadnumpy-cb28cd17d01a6a867517a3b8b3ea4fbb0370be10.tar.gz
Merge pull request #21977 from greglucas/masked_ufunc
ENH: Adding __array_ufunc__ capability to MaskedArrays
Diffstat (limited to 'numpy/lib')
-rw-r--r--numpy/lib/tests/test_function_base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/lib/tests/test_function_base.py b/numpy/lib/tests/test_function_base.py
index 8457551ca..1c3c32bdd 100644
--- a/numpy/lib/tests/test_function_base.py
+++ b/numpy/lib/tests/test_function_base.py
@@ -780,7 +780,7 @@ class TestDiff:
mask=[[False, False], [True, False],
[False, True], [True, True], [False, False]])
out = diff(x)
- assert_array_equal(out.data, [[1], [1], [1], [1], [1]])
+ assert_array_equal(out.data, [[1], [4], [6], [8], [1]])
assert_array_equal(out.mask, [[False], [True],
[True], [True], [False]])
assert_(type(out) is type(x))