Skip to content

Commit

Permalink
Merge pull request #4912 from neutrinoceros/mnt/cleanup_filterwarnings
Browse files Browse the repository at this point in the history
TST: cleanup unnecessary warning filter
  • Loading branch information
neutrinoceros committed May 30, 2024
2 parents b37cdae + 6860676 commit 36cc02b
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,19 +161,6 @@ def pytest_configure(config):
":DeprecationWarning",
)

if find_spec("astropy") is not None:
# at the time of writing, astropy's wheels are behind numpy's latest
# version but this doesn't cause actual problems in our test suite
# last updated with astropy 5.0 + numpy 1.22 + pytest 6.2.5
config.addinivalue_line(
"filterwarnings",
(
"ignore:numpy.ndarray size changed, may indicate binary incompatibility. Expected "
r"(80 from C header, got 88|88 from C header, got 96|80 from C header, got 96)"
" from PyObject:RuntimeWarning"
),
)

if PANDAS_VERSION is not None and PANDAS_VERSION >= Version("2.2.0"):
config.addinivalue_line(
"filterwarnings",
Expand Down

0 comments on commit 36cc02b

Please sign in to comment.