summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2021-01-24 10:59:30 -0700
committerCharles Harris <charlesr.harris@gmail.com>2021-01-24 10:59:30 -0700
commit3c7cd655c78ed7663e0dd672ed705364a09c8e16 (patch)
tree4ad19c425222bd5a955186fd2f6585df724c3273
parent3f04a32ffab73d218ac48f061b7b0d3112b3451c (diff)
downloadnumpy-3c7cd655c78ed7663e0dd672ed705364a09c8e16.tar.gz
MAINT: Ignore ComplexWarning in ``test_iter_copy_casts``
ComplexWarning is showing up in the aarch64 wheel nightly build tests. I don't see them locally, do not know why.
-rw-r--r--numpy/core/tests/test_nditer.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/numpy/core/tests/test_nditer.py b/numpy/core/tests/test_nditer.py
index 5e6472ae5..94f61baca 100644
--- a/numpy/core/tests/test_nditer.py
+++ b/numpy/core/tests/test_nditer.py
@@ -1365,6 +1365,7 @@ def test_iter_copy():
@pytest.mark.parametrize("dtype", np.typecodes["All"])
@pytest.mark.parametrize("loop_dtype", np.typecodes["All"])
+@pytest.mark.filterwarnings("ignore::numpy.ComplexWarning")
def test_iter_copy_casts(dtype, loop_dtype):
# Ensure the dtype is never flexible:
if loop_dtype.lower() == "m":