summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2021-12-16 20:04:48 -0700
committerGitHub <noreply@github.com>2021-12-16 20:04:48 -0700
commit5afc7678a01d1c65063c5967b8594e191e594065 (patch)
tree37f43df8f3e2a567e33d360f666b45442245de0a
parent38ccc3eafba58f1ae5cac1762805c31f3154322d (diff)
parent6b47e92cbf74a23e21afaceb7885157f66e602e8 (diff)
downloadnumpy-5afc7678a01d1c65063c5967b8594e191e594065.tar.gz
Merge pull request #20604 from rossbar/fix-test-collection-python3-10
DEV: add a warningfilter to fix pytest workflow.
-rw-r--r--pytest.ini2
1 files changed, 2 insertions, 0 deletions
diff --git a/pytest.ini b/pytest.ini
index 92ce6d6e2..1d84f4c48 100644
--- a/pytest.ini
+++ b/pytest.ini
@@ -18,3 +18,5 @@ filterwarnings =
ignore:assertions not in test modules or plugins:pytest.PytestConfigWarning
# TODO: remove below when array_api user warning is removed
ignore:The numpy.array_api submodule is still experimental. See NEP 47.
+# Ignore DeprecationWarnings from distutils
+ ignore::DeprecationWarning:.*distutils