Cornerstone-OnDemand/modelkit

Set MODELKIT_ENABLE_SIMPLE_TRACEBACK for pytest

franckbrl opened this issue · 0 comments

Running pytest with env var MODELKIT_ENABLE_SIMPLE_TRACEBACK set to false leads to the following fails:

FAILED tests/test_errors.py::test_prediction_error[model0] - AssertionError: assert 6 <= 3
FAILED tests/test_errors.py::test_prediction_error[model1] - AssertionError: assert 4 <= 3
FAILED tests/test_errors.py::test_prediction_error_composition - AssertionError: assert 11 <= 4
FAILED tests/test_errors.py::test_prediction_error_async[model0] - AssertionError: assert 6 <= 3
FAILED tests/test_errors.py::test_prediction_error_async[model1] - AssertionError: assert 4 <= 3