Skip to content

Commit

Permalink
tests: ignore one more error
Browse files Browse the repository at this point in the history
  • Loading branch information
jakevdp committed Sep 12, 2024
1 parent 4893435 commit 74daa1a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ml_dtypes/tests/custom_float_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__):
Expand Down

0 comments on commit 74daa1a

Please sign in to comment.