Skip to content

Commit de4ae71

Browse files
at least 1 config in regression
1 parent df4c16b commit de4ae71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_api/test_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ def test_tabular_regression(openml_name, resampling_strategy, backend):
268268
# Check that smac was able to find proper models
269269
succesful_runs = [run_value.status for run_value in estimator.run_history.data.values(
270270
) if 'SUCCESS' in str(run_value.status)]
271-
assert len(succesful_runs) > 1, [(k, v) for k, v in estimator.run_history.data.items()]
271+
assert len(succesful_runs) >= 1, [(k, v) for k, v in estimator.run_history.data.items()]
272272

273273
# Search for an existing run key in disc. A individual model might have
274274
# a timeout and hence was not written to disc

0 commit comments

Comments
 (0)