File: 0003-Ignore-invalid-value-runtime-warnings-in-tests.patch

package info (click to toggle)
numpy 1%3A2.2.3%2Bds-5
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 83,296 kB
  • sloc: python: 248,434; asm: 232,365; ansic: 216,846; cpp: 135,657; f90: 1,540; sh: 938; fortran: 558; makefile: 409; sed: 139; xml: 109; java: 92; perl: 79; cs: 54; javascript: 53; objc: 29; lex: 13; yacc: 9
file content (24 lines) | stat: -rw-r--r-- 794 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
23
24
From: =?utf-8?q?Timo_R=C3=B6hling?= <roehling@debian.org>
Date: Tue, 19 Mar 2024 21:48:22 +0100
Subject: Ignore invalid value runtime warnings in tests

---
 pytest.ini | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/pytest.ini b/pytest.ini
index 7154264..38e69ec 100644
--- a/pytest.ini
+++ b/pytest.ini
@@ -11,8 +11,9 @@ filterwarnings =
     ignore:numpy.dtype size changed
     ignore:numpy.ufunc size changed
     ignore::UserWarning:cpuinfo,
-    ignore: divide by zero encountered in log
-    ignore: invalid value encountered in log
+    ignore:divide by zero encountered
+    ignore:invalid value encountered
+    ignore:shared memory stats
 # Matrix PendingDeprecationWarning.
     ignore:the matrix subclass is not
     ignore:Importing from numpy.matlib is