From 1e798fe00c7834003791e779abf7eafd152f8c15 Mon Sep 17 00:00:00 2001 From: RichieHakim Date: Sun, 14 Apr 2024 23:49:37 -0400 Subject: [PATCH] Update hypothesis settings in test_regression.py --- bnpm/tests/test_regression.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bnpm/tests/test_regression.py b/bnpm/tests/test_regression.py index 7f0a471..a07c855 100644 --- a/bnpm/tests/test_regression.py +++ b/bnpm/tests/test_regression.py @@ -67,7 +67,7 @@ def test_extreme_values(): m=st.integers(min_value=3, max_value=99), noise=st.floats(min_value=0.01, max_value=1.0), ) -@hypothesis.settings(max_examples=10) +@hypothesis.settings(max_examples=10, deadline=2000) def test_hypothesis(n, m, noise): X, y = make_regression(n_samples=n, n_features=m, noise=noise) model_sklearn = LinearRegression().fit(X, y)