diff --git a/pyproject.toml b/pyproject.toml index 3fa6f6c1..35f9aa5d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -85,6 +85,7 @@ norecursedirs = [ doctest_plus = "enabled" addopts = "--doctest-rst" filterwarnings = [ + "error", "ignore:Models in math_functions:astropy.utils.exceptions.AstropyUserWarning", "ignore:numpy.ndarray size changed:RuntimeWarning", ]