From 10f08781af0a37fa3406728a9b2d7f01bc478aae Mon Sep 17 00:00:00 2001 From: Ross Barnowski Date: Thu, 16 Dec 2021 17:31:38 -0800 Subject: [PATCH] DEV: add a warningfilter to fix pytest workflow. --- pytest.ini | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pytest.ini b/pytest.ini index dfad538c2327..1d84f4c4803b 100644 --- a/pytest.ini +++ b/pytest.ini @@ -16,3 +16,7 @@ filterwarnings = ignore:Importing from numpy.matlib is # pytest warning when using PYTHONOPTIMIZE 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