Skip to content

Commit

Permalink
Print output to debug the TestEvalModel unit test
Browse files Browse the repository at this point in the history
This unit test is failing on Travis only on Python 3.6 but not Python 3.5 on PR #20,
and we can't make sense of why. This is mostly a "no change" pull request to trigger 
the CI tests, but I added a print(output) statement to help debug.
  • Loading branch information
rwest authored Apr 9, 2021
1 parent bba7984 commit fbc2879
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pyteck/tests/test_eval_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ def test(self):
num_threads=1,
skip_validation=True
)
print(output)
assert numpy.isclose(output['average error function'], 58.78211242028232, rtol=1.e-3)
assert numpy.isclose(output['error function standard deviation'], 0.0, rtol=1.e-3)
assert numpy.isclose(output['average deviation function'], 7.635983785416241, rtol=1.e-3)

0 comments on commit fbc2879

Please sign in to comment.