Skip to content

Commit a90ac1b

Browse files
committed
Fix test
1 parent 4f35798 commit a90ac1b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/test_properties.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,9 @@ def chunked_arrays(
171171

172172

173173
@settings(
174-
max_examples=300, suppress_health_check=[HealthCheck.filter_too_much, HealthCheck.too_slow]
174+
max_examples=300,
175+
deadline=None,
176+
suppress_health_check=[HealthCheck.filter_too_much, HealthCheck.too_slow],
175177
)
176178
@given(
177179
data=st.data(),
@@ -188,6 +190,7 @@ def test_scans(data, array, func):
188190
if "cum" in func and array.dtype.kind == "f" and array.dtype.itemsize == 4:
189191
array = array.astype(np.float64)
190192
numpy_array = array.compute()
193+
assume((numpy_array < 2**53).all())
191194

192195
dtype = NUMPY_SCAN_FUNCS[func](numpy_array[..., [0]], axis=axis).dtype
193196
expected = np.empty_like(numpy_array, dtype=dtype)

0 commit comments

Comments
 (0)