Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelFu512 committed May 20, 2024
1 parent ac13851 commit cf097ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 2 additions & 2 deletions evalml/tests/component_tests/test_components.py
Original file line number Diff line number Diff line change
Expand Up @@ -961,9 +961,9 @@ def test_components_can_be_used_for_partial_dependence_fast_mode():
# Expected number is hardcoded so that this test will fail when new components are added
# It should be len(all_native_components) - num_invalid_for_pd_fast_mode
if ProphetRegressor not in all_native_components:
expected_num_valid_for_pd_fast_mode = 65
expected_num_valid_for_pd_fast_mode = 62

Check warning on line 964 in evalml/tests/component_tests/test_components.py

View check run for this annotation

Codecov / codecov/patch

evalml/tests/component_tests/test_components.py#L964

Added line #L964 was not covered by tests
else:
expected_num_valid_for_pd_fast_mode = 66
expected_num_valid_for_pd_fast_mode = 63
assert num_valid_for_pd_fast_mode == expected_num_valid_for_pd_fast_mode


Expand Down
3 changes: 0 additions & 3 deletions evalml/tests/component_tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,6 @@
"STL Decomposer",
"Prophet Regressor",
"Target Encoder",
"Vowpal Wabbit Binary Classifier",
"Vowpal Wabbit Multiclass Classifier",
"Vowpal Wabbit Regressor",
"XGBoost Classifier",
"XGBoost Regressor",
"VARMAX Regressor",
Expand Down

0 comments on commit cf097ee

Please sign in to comment.