Skip to content

Commit

Permalink
Update hypothesis settings in test_regression.py
Browse files Browse the repository at this point in the history
  • Loading branch information
RichieHakim committed Apr 15, 2024
1 parent 66360f8 commit 1e798fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bnpm/tests/test_regression.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 1e798fe

Please sign in to comment.