1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
From: Ole Streicher <olebole@debian.org>
Date: Tue, 20 Dec 2022 11:25:58 +0100
Subject: Ignore Astropy deprecation warnings in tests
---
pyproject.toml | 1 +
1 file changed, 1 insertion(+)
diff --git a/pyproject.toml b/pyproject.toml
index 040bfd8..7086158 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -90,6 +90,7 @@ open_files_ignore = ['test.fits', 'asdf.fits']
# which pytest trips over during collection:
filterwarnings = [
'error',
+ 'ignore::astropy.utils.exceptions.AstropyDeprecationWarning',
'ignore::asdf.exceptions.AsdfDeprecationWarning:asdf.asdftypes',
'ignore:numpy.ndarray size changed:RuntimeWarning',
]
|