Skip to content

Commit

Permalink
fixed python test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
wendycwong committed Oct 21, 2024
1 parent 4adc28d commit bb90e33
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ def test_scoring_history_model_summary():
" of mse {1} but is not.".format(mse_fixed_valid, mse)
assert len(coef) == len(coef_random_names), "fixed coefficient length {0} should equal to random coefficient names" \
" length: {1}".format(len(coef), len(coef_random_names))
assert len(coef)*len(level2_names) == len(coef_random), \
assert len(level2_names) == len(coef_random), \
"expected random coefficient length: {0}, actual random coefficient names length " \
"{1}".format(len(coef)*len(level2_names),len(coef_random))
"{1}".format(len(level2_names),len(coef_random))

if __name__ == "__main__":
pyunit_utils.standalone_test(test_scoring_history_model_summary)
Expand Down

0 comments on commit bb90e33

Please sign in to comment.