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: Mon, 5 Sep 2022 22:53:04 +0200
Subject: Disable RuntimeWarning: invalid value encountered in tests
This warning may be emitted by mipsel builds and cause an FTBFS there.
---
pyproject.toml | 1 +
1 file changed, 1 insertion(+)
diff --git a/pyproject.toml b/pyproject.toml
index 9759e65..a6f961b 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -86,6 +86,7 @@ text_file_format = "rst"
addopts = ["-ra", "--strict-config", "--strict-markers", "--doctest-rst", "--arraydiff", "--arraydiff-default-format=fits", "--doctest-ignore-import-errors"]
filterwarnings = [
"error",
+ 'ignore:invalid value encountered:RuntimeWarning',
'ignore:numpy\.ufunc size changed:RuntimeWarning',
'ignore:numpy\.ndarray size changed:RuntimeWarning',
"ignore:distutils Version classes are deprecated:DeprecationWarning",
|