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: Mon, 19 Sep 2022 14:30:22 +0200
Subject: Ignore warnings about distutils/setuptools in tests
Closes: #1020115
---
pyproject.toml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/pyproject.toml b/pyproject.toml
index a6f961b..d87d278 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -86,6 +86,8 @@ text_file_format = "rst"
addopts = ["-ra", "--strict-config", "--strict-markers", "--doctest-rst", "--arraydiff", "--arraydiff-default-format=fits", "--doctest-ignore-import-errors"]
filterwarnings = [
"error",
+ 'ignore:Setuptools is replacing distutils.:UserWarning',
+ 'ignore:Distutils was imported before Setuptools*:UserWarning',
'ignore:invalid value encountered:RuntimeWarning',
'ignore:numpy\.ufunc size changed:RuntimeWarning',
'ignore:numpy\.ndarray size changed:RuntimeWarning',
|