summaryrefslogtreecommitdiff
path: root/numpy/lib/tests
diff options
context:
space:
mode:
authorRalf Gommers <ralf.gommers@gmail.com>2023-03-12 21:52:25 +0000
committerRalf Gommers <ralf.gommers@gmail.com>2023-03-12 22:10:11 +0000
commitac6233b03df6562453ebda984f565f603e726710 (patch)
tree9e79ec3440c8f7cfeee54fd44f3be0685846c536 /numpy/lib/tests
parent6e34d87c613557a428da13cce5fb8e8738086a78 (diff)
downloadnumpy-ac6233b03df6562453ebda984f565f603e726710.tar.gz
DEP: expire deprecation for "y as out" in fix/isposinf/isneginf
Diffstat (limited to 'numpy/lib/tests')
-rw-r--r--numpy/lib/tests/test_ufunclike.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/numpy/lib/tests/test_ufunclike.py b/numpy/lib/tests/test_ufunclike.py
index c280b6969..fac4f41d0 100644
--- a/numpy/lib/tests/test_ufunclike.py
+++ b/numpy/lib/tests/test_ufunclike.py
@@ -80,12 +80,6 @@ class TestUfunclike:
assert_(isinstance(f0d, MyArray))
assert_equal(f0d.metadata, 'bar')
- def test_deprecated(self):
- # NumPy 1.13.0, 2017-04-26
- assert_warns(DeprecationWarning, ufl.fix, [1, 2], y=nx.empty(2))
- assert_warns(DeprecationWarning, ufl.isposinf, [1, 2], y=nx.empty(2))
- assert_warns(DeprecationWarning, ufl.isneginf, [1, 2], y=nx.empty(2))
-
def test_scalar(self):
x = np.inf
actual = np.isposinf(x)