Skip to content

Commit

Permalink
Remove test call demonstrating the workflow correctly fails when usin…
Browse files Browse the repository at this point in the history
…g a deprecated function
  • Loading branch information
aphearin committed Jan 30, 2024
1 parent 63d13bf commit 419a08b
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions diffmah/tests/test_defaults.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,3 @@ def test_mah_halopop_imports_from_top_level():
mah_params_halopop = DiffmahParams(*[x + zz for x in DEFAULT_MAH_PARAMS])
dmhdt, log_mah = mah_halopop(mah_params_halopop, tarr)
assert log_mah.shape == dmhdt.shape


def test_trapz_raises_warning():
res = jnp.trapz(np.linspace(0, 1, 100), x=np.linspace(0, 1, 100))
assert np.all(np.isfinite(res))

0 comments on commit 419a08b

Please sign in to comment.