summaryrefslogtreecommitdiff
path: root/numpy/lib/tests/test_function_base.py
diff options
context:
space:
mode:
authorMatti Picus <matti.picus@gmail.com>2022-07-09 20:07:35 +0300
committerGitHub <noreply@github.com>2022-07-09 20:07:35 +0300
commitab541f9c7b864713c744d513dc9895eaa34b9c6b (patch)
tree6cd435ed140e1ab820f866ac913c20882603a906 /numpy/lib/tests/test_function_base.py
parent934e41387fd3f34b2ab2f23a1b951d78b8b01788 (diff)
parenta819f00a5b7e2fcf875ec5694d53fda39842768b (diff)
downloadnumpy-ab541f9c7b864713c744d513dc9895eaa34b9c6b.tar.gz
Merge pull request #16022 from greglucas/masked_ufunc
ENH: Adding __array_ufunc__ capability to MaskedArrays
Diffstat (limited to 'numpy/lib/tests/test_function_base.py')
-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))