Skip to content

Commit c5b6919

Browse files
committed
updated the correct tests
1 parent d0b8cc4 commit c5b6919

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

policyengine/tests/economic_impact/budgetary_impact/by_program/test_by_program.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import os
44
from policyengine import EconomicImpact
55

6-
def assert_dict_approx_equal(actual, expected, tolerance=1e-4):
6+
def assert_dict_approx_equal(actual, expected, tolerance=1e3):
77
for key in expected:
88
assert abs(actual[key] - expected[key]) < tolerance, f"Key {key}: expected {expected[key]}, got {actual[key]}"
99

policyengine/tests/economic_impact/budgetary_impact/overall/test_overall.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import os
44
from policyengine import EconomicImpact
55

6-
def assert_dict_approx_equal(actual, expected, tolerance=1e-4):
6+
def assert_dict_approx_equal(actual, expected, tolerance=1e3):
77
for key in expected:
88
assert abs(actual[key] - expected[key]) < tolerance, f"Key {key}: expected {expected[key]}, got {actual[key]}"
99

policyengine/tests/economic_impact/poverty_impact/deep_poverty/by_age/test_deep_by_age.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import os
44
from policyengine import EconomicImpact
55

6-
def assert_dict_approx_equal(actual, expected, tolerance=1e3):
6+
def assert_dict_approx_equal(actual, expected, tolerance=1e-4):
77
for key in expected:
88
assert abs(actual[key] - expected[key]) < tolerance, f"Key {key}: expected {expected[key]}, got {actual[key]}"
99

policyengine/tests/economic_impact/poverty_impact/deep_poverty/by_gender/test_deep_by_gender.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import os
44
from policyengine import EconomicImpact
55

6-
def assert_dict_approx_equal(actual, expected, tolerance=1e3):
6+
def assert_dict_approx_equal(actual, expected, tolerance=1e-4):
77
for key in expected:
88
assert abs(actual[key] - expected[key]) < tolerance, f"Key {key}: expected {expected[key]}, got {actual[key]}"
99

0 commit comments

Comments
 (0)