summaryrefslogtreecommitdiff
path: root/numpy/lib/tests/test_function_base.py
diff options
context:
space:
mode:
authorMatti Picus <matti.picus@gmail.com>2022-07-09 22:39:30 +0300
committerGitHub <noreply@github.com>2022-07-09 22:39:30 +0300
commit1ba51588d767559c3fa48ed405ebc2df3ea37874 (patch)
tree55087e95fb28e9fe7b37b523ff394e99e67504f1 /numpy/lib/tests/test_function_base.py
parent0e5770d7458f30ee745809a21ed47ae7d999be02 (diff)
parent072ae770150a70e1821f71302b43cee4bba7055c (diff)
downloadnumpy-1ba51588d767559c3fa48ed405ebc2df3ea37874.tar.gz
Merge pull request #21960 from numpy/revert-16022-masked_ufunc
Revert "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 1c3c32bdd..8457551ca 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], [4], [6], [8], [1]])
+ assert_array_equal(out.data, [[1], [1], [1], [1], [1]])
assert_array_equal(out.mask, [[False], [True],
[True], [True], [False]])
assert_(type(out) is type(x))