diff --git a/python-flask.spec b/python-flask.spec index 7bbde9b..69f3ae5 100644 --- a/python-flask.spec +++ b/python-flask.spec @@ -63,7 +63,8 @@ ln -s %{modname}-%{python3_version} %{buildroot}%{_bindir}/%{modname}-3 ln -sf %{modname}-3 %{buildroot}%{_bindir}/%{modname} %check -%pytest -Wdefault +# test_max_cookie_size fails on Python 3.12: https://github.com/pallets/flask/issues/5146 +%pytest -Wdefault -k "not test_max_cookie_size" %files -n python3-%{modname} %license LICENSE.rst