Skip to content

Commit

Permalink
assert-almost-equal instead of equal for MBS tests
Browse files Browse the repository at this point in the history
  • Loading branch information
RitzVanille committed Aug 27, 2024
1 parent 6b2ab16 commit d64ddda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion seismostats/analysis/tests/test_estimate_mc.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ def test_estimate_mc_bvalue_stability(setup_catalog):
swiss_catalog['magnitude'], delta_m=delta_m,
stability_range=0.5)

assert_equal(1.44, mc)
assert_almost_equal(1.44, mc)


def test_estimate_mc_bvalue_stability_larger_bins(setup_magnitudes):
Expand Down

0 comments on commit d64ddda

Please sign in to comment.