From d2bafa3c32b61e943b5d98897c1e00c5cd67a64e Mon Sep 17 00:00:00 2001 From: Mohammed Ismail Date: Wed, 11 Sep 2024 17:30:44 +0530 Subject: [PATCH] changed the tolerance --- .../test_by_wealth_decile/test_by_wealth_decile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/policyengine/tests/economic_impact/winners_and_losers/test_by_wealth_decile/test_by_wealth_decile.py b/policyengine/tests/economic_impact/winners_and_losers/test_by_wealth_decile/test_by_wealth_decile.py index 684365b..4c94bc3 100644 --- a/policyengine/tests/economic_impact/winners_and_losers/test_by_wealth_decile/test_by_wealth_decile.py +++ b/policyengine/tests/economic_impact/winners_and_losers/test_by_wealth_decile/test_by_wealth_decile.py @@ -3,7 +3,7 @@ import os from policyengine import EconomicImpact -def assert_dict_approx_equal(actual, expected, tolerance=1e-4): +def assert_dict_approx_equal(actual, expected, tolerance=5e-2): if isinstance(expected, dict): for key in expected: assert_dict_approx_equal(actual[key], expected[key], tolerance)