From 8d4eed081d7355c872e9023bc809b0c4be0413e3 Mon Sep 17 00:00:00 2001 From: Chris Russell Date: Fri, 21 Jun 2024 13:35:23 +0100 Subject: [PATCH] test patch --- tests/unittests/test_additional_constraints.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unittests/test_additional_constraints.py b/tests/unittests/test_additional_constraints.py index 731df69..2232dad 100644 --- a/tests/unittests/test_additional_constraints.py +++ b/tests/unittests/test_additional_constraints.py @@ -54,7 +54,7 @@ def test_slack_constraints(use_fast=True): measures = fpredictor.evaluate_fairness(metrics={'recall.min': gm.recall.min}, verbose=False) assert measures["original"]["recall.min"] < 0.99 - assert measures["updated"]["recall.min"] > 0.99 + assert measures["updated"]["recall.min"] >= 0.99 def test_slack_constraints_slow():