diff options
author | mattip <matti.picus@gmail.com> | 2019-10-31 08:28:30 +0200 |
---|---|---|
committer | mattip <matti.picus@gmail.com> | 2019-10-31 08:28:30 +0200 |
commit | fa2aa53b89765f2555adf76f0009b4c29a39099e (patch) | |
tree | d2b444c4fe532c972d8de1f437df8759f2832761 /numpy/testing/_private/utils.py | |
parent | 61bd4c2ed7d6abc1e489e0fba66ded4a7f3e2d42 (diff) | |
download | numpy-fa2aa53b89765f2555adf76f0009b4c29a39099e.tar.gz |
MAINT: revert change to assert_array_equal, adjust tests
Diffstat (limited to 'numpy/testing/_private/utils.py')
-rw-r--r-- | numpy/testing/_private/utils.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/numpy/testing/_private/utils.py b/numpy/testing/_private/utils.py index 5417359fe..8a31fcf15 100644 --- a/numpy/testing/_private/utils.py +++ b/numpy/testing/_private/utils.py @@ -688,10 +688,8 @@ def assert_array_compare(comparison, x, y, err_msg='', verbose=True, __tracebackhide__ = True # Hide traceback for py.test from numpy.core import array, array2string, isnan, inf, bool_, errstate, all, max, object_ - with warnings.catch_warnings(): - warnings.filterwarnings('ignore', '', DeprecationWarning) - x = array(x, copy=False, subok=True) - y = array(y, copy=False, subok=True) + x = array(x, copy=False, subok=True) + y = array(y, copy=False, subok=True) # original array for output formatting ox, oy = x, y |