From ca05d523c3d022eba8ea1bf75b50c60550d30d5a Mon Sep 17 00:00:00 2001 From: Sebastian Berg Date: Sun, 7 May 2017 16:06:20 +0200 Subject: BUG: Remove warning NaT filter from masked array test utils This may show warnings in downstream projects, which should likely not be there. We could also drop in the normal assert_equal there, which would support NaT, and NaN, but checks for scalarness, which this currently does not (which also could create problems). Works around the only test with this problem, by using the normal assert_equal there. --- numpy/ma/tests/test_core.py | 4 ++-- numpy/ma/testutils.py | 8 +++----- 2 files changed, 5 insertions(+), 7 deletions(-) (limited to 'numpy/ma') diff --git a/numpy/ma/tests/test_core.py b/numpy/ma/tests/test_core.py index f807fc8ae..b8cb8f1a4 100644 --- a/numpy/ma/tests/test_core.py +++ b/numpy/ma/tests/test_core.py @@ -1841,11 +1841,11 @@ class TestFillingValues(TestCase): "h", "D", "W", "M", "Y"): control = numpy.datetime64("NaT", timecode) test = default_fill_value(numpy.dtype("