File: Ignore-all-Astropy-warnings.patch

package info (click to toggle)
ndcube 2.0.3-1%2Bdeb12u1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,644 kB
  • sloc: python: 5,671; makefile: 34
file content (21 lines) | stat: -rw-r--r-- 578 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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
---
 setup.cfg | 1 +
 1 file changed, 1 insertion(+)

--- a/setup.cfg
+++ b/setup.cfg
@@ -74,6 +74,7 @@
 	error
 	always::pytest.PytestConfigWarning
 	ignore::DeprecationWarning
+	ignore::astropy.utils.exceptions.AstropyWarning
 	ignore::astropy.utils.exceptions.AstropyDeprecationWarning
 	ignore::FutureWarning
 	ignore:numpy.ufunc size changed:RuntimeWarning