1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
From: Ole Streicher <olebole@debian.org>
Date: Sat, 3 Feb 2024 17:00:04 +0100
Subject: Ignore Astropy warnings
These warnings are mainly created on outdated IERS data, which can be
ignored on packages in stable.
Closes: #1055892
---
pytest.ini | 1 +
1 file changed, 1 insertion(+)
diff --git a/pytest.ini b/pytest.ini
index 1772ba5..bfc17bc 100644
--- a/pytest.ini
+++ b/pytest.ini
@@ -48,6 +48,7 @@ filterwarnings =
# Turn all warnings into errors so they do not pass silently.
error
ignore::DeprecationWarning
+ ignore::astropy.utils.exceptions.AstropyWarning
# Do not fail on pytest config issues (i.e. missing plugins) but do show them
always::pytest.PytestConfigWarning
# Ignore all divide-by-zero and all-nan warnings
|