File: Ignore-all-Astropy-warnings.patch

package info (click to toggle)
ndcube 2.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 1,964 kB
  • sloc: python: 7,850; makefile: 34
file content (23 lines) | stat: -rw-r--r-- 768 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From: Ole Streicher <olebole@debian.org>
Date: Sat, 3 Feb 2024 17:16:57 +0100
Subject: Ignore all Astropy warnings

This covers the warning about outdated IERS data when testing the stable version.

Closes: #1055877
---
 pytest.ini | 1 +
 1 file changed, 1 insertion(+)

diff --git a/pytest.ini b/pytest.ini
index 528f936..2b4012d 100644
--- a/pytest.ini
+++ b/pytest.ini
@@ -42,6 +42,7 @@ filterwarnings =
     # add a comment or ideally a link to an issue that explains why the warning
     # is being ignored
     ignore::DeprecationWarning
+    ignore::astropy.utils.exceptions.AstropyWarning
     ignore::astropy.utils.exceptions.AstropyDeprecationWarning
     ignore::FutureWarning
     # This is due to dependencies building with a numpy version different from