Skip to content

Commit

Permalink
Ignore ResourceWarning in snpy
Browse files Browse the repository at this point in the history
  • Loading branch information
jvansanten committed Jan 16, 2025
1 parent b62b530 commit 590d3a9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,10 @@ addopts = "--cov=ampel --showlocals -ra"
filterwarnings = [
"error",
"always:numpy.ndarray size changed:RuntimeWarning",
"always:invalid escape sequence:SyntaxWarning",
# LaTeX in snpy docstrings
"default:invalid escape sequence:SyntaxWarning",
# dangling fits file in snpy
"default:unclosed:ResourceWarning",
"ignore:Deprecated call to `pkg_resources.declare_namespace\\('ligo'\\):DeprecationWarning",
"ignore:pkg_resources is deprecated:DeprecationWarning",
"ignore:(?s).*Pyarrow will become a required dependency of pandas:DeprecationWarning",
Expand Down

0 comments on commit 590d3a9

Please sign in to comment.