From 74daa1ad4cd048ae59e696c9a1deeeb0a278a65f Mon Sep 17 00:00:00 2001 From: Jake VanderPlas Date: Thu, 12 Sep 2024 13:01:22 -0700 Subject: [PATCH] tests: ignore one more error --- ml_dtypes/tests/custom_float_test.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ml_dtypes/tests/custom_float_test.py b/ml_dtypes/tests/custom_float_test.py index a69c09a4..6437e4d3 100644 --- a/ml_dtypes/tests/custom_float_test.py +++ b/ml_dtypes/tests/custom_float_test.py @@ -881,6 +881,7 @@ def testBinaryPredicateUfunc(self, float_type): op(x, y), op(x.astype(np.float32), y.astype(np.float32)) ) + @ignore_warning(category=RuntimeWarning, message="invalid value encountered") def testPredicateUfunc(self, float_type): for op in [np.isfinite, np.isinf, np.isnan, np.signbit, np.logical_not]: with self.subTest(op.__name__):