From 6860676b23e4186b93d5954458265080431c21a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Robert?= Date: Tue, 28 May 2024 20:30:54 +0200 Subject: [PATCH] TST: cleanup unnecessary warning filter --- conftest.py | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/conftest.py b/conftest.py index 7c1ecb0959..f0786b909d 100644 --- a/conftest.py +++ b/conftest.py @@ -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",