Skip to content

Commit

Permalink
Merge pull request #305 from ev-br/filter_userwarnings
Browse files Browse the repository at this point in the history
TST: filter out {invalid value, overflow, divide by zero} warnings
  • Loading branch information
asmeurer authored Nov 18, 2024
2 parents a3f3f37 + d841f1c commit 15eb045
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pytest.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[pytest]
filterwarnings =
# Ignore floating-point warnings from NumPy
ignore:invalid value encountered in:RuntimeWarning
ignore:overflow encountered in:RuntimeWarning
ignore:divide by zero encountered in:RuntimeWarning


0 comments on commit 15eb045

Please sign in to comment.