summaryrefslogtreecommitdiff
path: root/numpy/ma/tests/test_extras.py
diff options
context:
space:
mode:
authorRalf Gommers <ralf.gommers@gmail.com>2023-02-28 19:38:45 +0000
committerRalf Gommers <ralf.gommers@gmail.com>2023-02-28 23:15:40 +0000
commit768bbec24fff74cb59a173accf7fbeda6aca89a1 (patch)
tree041b801d111834c5e16b543d82482af5305f6d19 /numpy/ma/tests/test_extras.py
parent486878b37fc7439a3b2b87747f50db9b62fea8eb (diff)
downloadnumpy-768bbec24fff74cb59a173accf7fbeda6aca89a1.tar.gz
DEP: deprecate `np.round_`
Closes gh-22617
Diffstat (limited to 'numpy/ma/tests/test_extras.py')
-rw-r--r--numpy/ma/tests/test_extras.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/ma/tests/test_extras.py b/numpy/ma/tests/test_extras.py
index 38603fb84..e59ba3656 100644
--- a/numpy/ma/tests/test_extras.py
+++ b/numpy/ma/tests/test_extras.py
@@ -387,8 +387,8 @@ class TestConcatenator:
# Tests mr_ on 2D arrays.
a_1 = np.random.rand(5, 5)
a_2 = np.random.rand(5, 5)
- m_1 = np.round_(np.random.rand(5, 5), 0)
- m_2 = np.round_(np.random.rand(5, 5), 0)
+ m_1 = np.round(np.random.rand(5, 5), 0)
+ m_2 = np.round(np.random.rand(5, 5), 0)
b_1 = masked_array(a_1, mask=m_1)
b_2 = masked_array(a_2, mask=m_2)
# append columns