Skip to content

Commit

Permalink
small change in testing the estimate_b
Browse files Browse the repository at this point in the history
  • Loading branch information
aronsho committed Jun 5, 2024
1 parent 710d308 commit f9d16a2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions seismostats/analysis/tests/test_estimate_beta.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,7 @@ def test_estimate_b(
)

# assert that the correct number of values are returned
assert np.size(out) == 1 + return_std + (
return_n * (1 - (method == "utsu")) * (1 - (method == "tinti"))
)
assert np.size(out) == 1 + return_std + (return_n * (method == "positive"))

# test that uncorrect binninng leads to error
with pytest.raises(AssertionError) as excinfo:
Expand Down

0 comments on commit f9d16a2

Please sign in to comment.