From 9b6e1d50889815567f29bd774f5beaea49a53ad9 Mon Sep 17 00:00:00 2001 From: Dane Pitkin Date: Thu, 5 Oct 2023 17:35:57 -0400 Subject: [PATCH] Fix flaky hypothesis tests --- python/pyarrow/tests/test_array.py | 1 + python/pyarrow/tests/test_types.py | 1 + 2 files changed, 2 insertions(+) diff --git a/python/pyarrow/tests/test_array.py b/python/pyarrow/tests/test_array.py index fca094b519f..cd565a72bc1 100644 --- a/python/pyarrow/tests/test_array.py +++ b/python/pyarrow/tests/test_array.py @@ -2020,6 +2020,7 @@ def test_array_pickle_dictionary(pickle_module): assert array.equals(result) +@h.settings(suppress_health_check=(h.HealthCheck.too_slow,)) @h.given( past.arrays( past.all_types, diff --git a/python/pyarrow/tests/test_types.py b/python/pyarrow/tests/test_types.py index f3b6001003d..660765f3361 100644 --- a/python/pyarrow/tests/test_types.py +++ b/python/pyarrow/tests/test_types.py @@ -1184,6 +1184,7 @@ def test_is_boolean_value(): assert pa.types.is_boolean_value(np.bool_(False)) +@h.settings(suppress_health_check=(h.HealthCheck.too_slow,)) @h.given( past.all_types | past.all_fields |