From 0a6921db2aa1deeae44db8e8156c5592b2e3fbfa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Hrn=C4=8Diar?= Date: Fri, 16 Jun 2023 11:49:48 +0200 Subject: [PATCH] Don't treat DeprecationWarnings as failures in %check --- python-werkzeug.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-werkzeug.spec b/python-werkzeug.spec index 7520643..e1714da 100644 --- a/python-werkzeug.spec +++ b/python-werkzeug.spec @@ -85,7 +85,7 @@ popd %check # deselect the test_exclude_patterns test case as it's failing # when we set PYTHONPATH: https://github.com/pallets/werkzeug/issues/2404 -%pytest --deselect tests/test_serving.py::test_exclude_patterns +%pytest -Wdefault --deselect tests/test_serving.py::test_exclude_patterns %files -n python3-%{modname} %license LICENSE.rst