Don't treat DeprecationWarnings as failures in %check

This commit is contained in:
Tomáš Hrnčiar 2023-06-16 11:49:48 +02:00
parent cf36b6d7c5
commit 0a6921db2a

View File

@ -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