Skip to content

Commit

Permalink
overlapped fields test ==
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilipDeegan committed Jun 24, 2021
1 parent 0ffba3d commit 04186db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/simulator/test_advance.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,9 +210,9 @@ def _test_overlaped_fields_are_equal(self, time_step, time_step_nbr, datahier):
slice2 = data2[loc_b2.lower[0]:loc_b2.upper[0] + 1]

try:
np.testing.assert_allclose(slice1, slice2, atol=1e-6)
np.testing.assert_equal(slice1, slice2)
except AssertionError as e:
print("error", coarsest_time, overlap)
print("error", pd1.name, coarsest_time, overlap)
raise e

self.assertGreater(check, time_step_nbr)
Expand Down

0 comments on commit 04186db

Please sign in to comment.