Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelFu512 committed May 24, 2024
1 parent 854e8c2 commit 6f8b5bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion evalml/tests/automl_tests/test_automl.py
Original file line number Diff line number Diff line change
Expand Up @@ -1530,7 +1530,7 @@ def test_results_getter(AutoMLTestEnv, X_y_binary):

assert automl.results["pipeline_results"][0]["mean_cv_score"] == 1.0

with pytest.raises(AttributeError, match="has no setter"):
with pytest.raises(AttributeError):

Check warning on line 1533 in evalml/tests/automl_tests/test_automl.py

View check run for this annotation

Codecov / codecov/patch

evalml/tests/automl_tests/test_automl.py#L1533

Added line #L1533 was not covered by tests
automl.results = 2.0

automl.results["pipeline_results"][0]["mean_cv_score"] = 2.0
Expand Down

0 comments on commit 6f8b5bc

Please sign in to comment.