Skip to content

Commit

Permalink
ignore bpr deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
jorenham committed Jan 12, 2025
1 parent c979759 commit 96f2b41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_scipy_stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def test_rv_cont(rv: distributions.rv_frozen[Any, Any]) -> None:
s = 2 * (not np.isfinite(a))
t = 2 * (not np.isfinite(b))

l_old = cast("l_rv_frozen", rv).l_stats(trim=(s, t))
l_old = cast("l_rv_frozen", rv).l_stats(trim=(s, t)) # pyright: ignore[reportDeprecated]
l_new = l_moments(rv, trim=(s, t))

assert_allclose(l_old, l_new)

0 comments on commit 96f2b41

Please sign in to comment.