diff --git a/ogcore/TPI.py b/ogcore/TPI.py index e5dc168e1..755ac791c 100644 --- a/ogcore/TPI.py +++ b/ogcore/TPI.py @@ -707,7 +707,6 @@ def run_TPI(p, client=None): # TPI loop while (TPIiter < p.maxiter) and (TPIdist >= p.mindist_TPI): - outer_loop_vars = (r_p, r, w, p_m, BQ, TR, theta) # compute composite good price p_i = ( diff --git a/ogcore/utils.py b/ogcore/utils.py index 7be02a64e..85fe21147 100644 --- a/ogcore/utils.py +++ b/ogcore/utils.py @@ -158,7 +158,6 @@ def comp_array(name, a, b, tol, unequal, exceptions={}, relative=False): return False else: - if np.all(a < EPSILON) and np.all(b < EPSILON): return True diff --git a/tests/test_household.py b/tests/test_household.py index f237b79c9..4256c038d 100644 --- a/tests/test_household.py +++ b/tests/test_household.py @@ -994,7 +994,6 @@ def test_get_y(): "bssmat,nssmat,cssmat,ltilde", test_data, ids=["passing", "failing"] ) def test_constraint_checker_SS(bssmat, nssmat, cssmat, ltilde): - household.constraint_checker_SS(bssmat, nssmat, cssmat, ltilde) assert True @@ -1003,7 +1002,6 @@ def test_constraint_checker_SS(bssmat, nssmat, cssmat, ltilde): "bssmat,nssmat,cssmat,ltilde", test_data, ids=["passing", "failing"] ) def test_constraint_checker_TPI(bssmat, nssmat, cssmat, ltilde): - household.constraint_checker_TPI(bssmat, nssmat, cssmat, 10, ltilde) assert True diff --git a/tests/test_utils.py b/tests/test_utils.py index 4bbf61f0d..354385c5b 100644 --- a/tests/test_utils.py +++ b/tests/test_utils.py @@ -702,7 +702,6 @@ def test_not_connected_true(): "df,output_type,precision", test_data, ids=["tex", "json", "html"] ) def test_save_return_table(df, output_type, precision): - test_str = utils.save_return_table(df, output_type, None, precision) assert isinstance(test_str, str)