Skip to content

Commit

Permalink
Merge branch 'main' into releases/rc-trulens-1.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-jreini authored Oct 29, 2024
2 parents d86f74c + 6afc165 commit 46f05d0
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tests/unit/test_feedback.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,7 @@ def test_skipeval_all(self) -> None:

self.assertIsInstance(res.result, float)

self.assertIs(
res.result, np.nan
) # NOTE: cannot use assertEqual for nans.
# Result should be nan if all evals were skipped.
self.assertTrue(np.isnan(res.result))

self.assertEqual(res.status, feedback_schema.FeedbackResultStatus.DONE)
# But status should be DONE (as opposed to SKIPPED or ERROR)
Expand Down

0 comments on commit 46f05d0

Please sign in to comment.