Skip to content

Commit

Permalink
Update test_psi_detector.py
Browse files Browse the repository at this point in the history
  • Loading branch information
951378644 committed Nov 22, 2023
1 parent a46710c commit dab9abf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/menelaus/data_drift/test_psi_detector.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,5 @@ def test_psi_compute_PSI():
det = PSI()
det.set_reference(X = ref)
det.update(X = test)
assertEqual(det.PSI_value == result)
assertTrue(det.PSI_value >= 0 and det.PSI_value <= 1)
assert det.PSI_value == result
assert det.PSI_value >= 0 and det.PSI_value <= 1

0 comments on commit dab9abf

Please sign in to comment.