From 93dd269c9c0e2b4005d853da69da2dc4fe38f76b9d287b14554576fe7aff68af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Mon, 4 Apr 2022 06:01:52 +0000 Subject: [PATCH] Accepting request 966531 from home:bnavigator:branches:devel:languages:python - Skip a test causing errors in pytest 7 -- gh#cherrypy/cheroot#502 OBS-URL: https://build.opensuse.org/request/show/966531 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cheroot?expand=0&rev=44 --- python-cheroot.changes | 5 +++++ python-cheroot.spec | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) 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