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

package info (click to toggle)
specutils 2.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 12,460 kB
  • sloc: python: 13,497; makefile: 111
file content (22 lines) | stat: -rw-r--r-- 880 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 5d29bd9..30c4eb2 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -78,7 +78,7 @@ filterwarnings =
     ignore:distutils Version classes are deprecated:DeprecationWarning
     ignore:numpy\.ndarray size changed:RuntimeWarning
     ignore:numpy\.ufunc 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