From 1d38d05ea766f3ad1462c91d552813e1815cec4a Mon Sep 17 00:00:00 2001 From: "P. L. Lim" <2090236+pllim@users.noreply.github.com> Date: Thu, 14 Nov 2024 11:37:46 -0500 Subject: [PATCH] TST: Turn all unhandle warnings into errors in pytest --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) 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", ]