We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e888a8 commit a9d80c5Copy full SHA for a9d80c5
test/test_decode.py
@@ -261,8 +261,9 @@ def test_consistent_decodes_all_values(
261
np.iinfo(int_dtype).min, int(np.iinfo(int_dtype).max) + 1, dtype=int_dtype
262
)
263
264
- # Warning here when converting bfloat16 NaNs to float64
265
- npfvals = npivals.view(dtype=npfmt).astype(np.float64)
+ with np.errstate(invalid="ignore"):
+ # Warning here when converting bfloat16 NaNs to float64
266
+ npfvals = npivals.view(dtype=npfmt).astype(np.float64)
267
268
# Scalar version
269
for i, npfval in zip(npivals, npfvals):
0 commit comments