Skip to content

Commit 0dcd87c

Browse files
committed
more skipping
1 parent 2c6d486 commit 0dcd87c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/test_properties.py

+6
Original file line numberDiff line numberDiff line change
@@ -337,6 +337,12 @@ def test_agg_dtype_specified(func, array_dtype, dtype, engine):
337337
@given(data=st.data(), array=chunked_arrays())
338338
def test_topk_max_min(data, array):
339339
"top 1 == nanmax; top -1 == nanmin"
340+
341+
if array.dtype.kind in "mM":
342+
# we cast to float and back, so this is the effective limit
343+
assume((array.view(np.int64) < 2**53).all())
344+
elif array.dtype.kind == "i":
345+
assume((array < 2**53).all())
340346
size = array.shape[-1]
341347
note(array.compute()) # FIXME
342348
by = data.draw(by_arrays(shape=(size,)))

0 commit comments

Comments
 (0)