File: Ignore-all-ignored-value-runtime-warnings.patch

package info (click to toggle)
specutils 1.9.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,924 kB
  • sloc: python: 10,599; makefile: 110
file content (22 lines) | stat: -rw-r--r-- 845 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
22
From: Ole Streicher <olebole@debian.org>
Date: Wed, 26 Oct 2022 09:55:13 +0200
Subject: Ignore all 'ignored value' runtime warnings

This helps passing the tests on (some) mips hosts
---
 setup.cfg | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/setup.cfg b/setup.cfg
index dedaa49..8d71344 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -59,7 +59,7 @@ filterwarnings =
 	ignore:distutils Version classes are deprecated:DeprecationWarning
 	ignore:unclosed file:ResourceWarning
 	ignore:numpy\.ndarray size changed:RuntimeWarning
-	ignore:invalid value encountered in .*divide:RuntimeWarning
+	ignore:invalid value encountered:RuntimeWarning
 	ignore:.*contains multiple slashes:astropy.units.core.UnitsWarning
 	ignore::astropy.wcs.wcs.FITSFixedWarning
 	ignore:Input WCS indicates that the spectral axis is not last:UserWarning