Skip to content

Commit

Permalink
TST: Turn all unhandle warnings into errors in pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
pllim authored and WilliamJamieson committed Nov 20, 2024
1 parent bd9ba38 commit 1d38d05
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
]
Expand Down

0 comments on commit 1d38d05

Please sign in to comment.