Skip to content

Commit

Permalink
Merge pull request spacetelescope#2522 from pllim/ignore-the-core
Browse files Browse the repository at this point in the history
TST: Ignore numpy.core DeprecationWarning
  • Loading branch information
pllim authored Oct 19, 2023
2 parents 47e14b0 + a5767b5 commit 58c6528
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,9 @@ filterwarnings = [
"ignore::DeprecationWarning:dask",
"ignore::FutureWarning:asteval",
"ignore:::specutils.spectra.spectrum1d",
# Ignore numpy 2.0 warning, see https://github.com/astropy/astropy/pull/15495
# and https://github.com/scipy/scipy/pull/19275
"ignore:.*numpy\\.core.*:DeprecationWarning",
]

[tool.coverage.run]
Expand Down

0 comments on commit 58c6528

Please sign in to comment.