diff --git a/python-cheroot.changes b/python-cheroot.changes index fde6027..6655756 100644 --- a/python-cheroot.changes +++ b/python-cheroot.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Apr 2 11:22:09 UTC 2022 - Ben Greiner + +- Skip a test causing errors in pytest 7 -- gh#cherrypy/cheroot#502 + ------------------------------------------------------------------- Sat Jan 22 17:17:44 UTC 2022 - Ben Greiner diff --git a/python-cheroot.spec b/python-cheroot.spec index 98a2824..b49a649 100644 --- a/python-cheroot.spec +++ b/python-cheroot.spec @@ -112,7 +112,10 @@ pushd testclean %python_expand pytest_opts+=" --ignore %{buildroot}%{$python_sitelib}/cheroot/test/test_wsgi.py" %endif # test_tls_client_auth[...-False-localhost-builtin] fails ocassionally on server-side OBS -%pytest --pyargs cheroot $pytest_opts -k "not (test_tls_client_auth and False-localhost-builtin)" +donttest="(test_tls_client_auth and False-localhost-builtin)" +# https://github.com/cherrypy/cheroot/issues/502 +donttest="$donttest or test_high_number_of_file_descriptors" +%pytest --pyargs cheroot $pytest_opts -k "not ($donttest)" popd %pre