Skip to content

Commit

Permalink
Do not check for same dtype when comparing frames in toy model test
Browse files Browse the repository at this point in the history
  • Loading branch information
timmens committed Feb 29, 2024
1 parent 1eeef3e commit 3d210f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_solution_on_toy_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ def test_deterministic_simulate(beta, n_wealth_points):
initial_wealth=np.array([0.25, 0.75, 1.25, 1.75]),
params=params,
)
assert_frame_equal(got, expected, check_like=True)
assert_frame_equal(got, expected, check_like=True, check_dtype=False)


HEALTH_TRANSITION = [
Expand Down Expand Up @@ -467,4 +467,4 @@ def test_stochastic_simulate(beta, n_wealth_points, health_transition):
# Drop all rows that contain wealth levels at the boundary.
got = _got.query("wealth != 2")
expected = _expected.query("wealth != 2")
assert_frame_equal(got, expected, check_like=True)
assert_frame_equal(got, expected, check_like=True, check_dtype=False)

0 comments on commit 3d210f8

Please sign in to comment.