From 407be53827db2afe0f9d41770569bb98e5ce96b0e4c076aab486fcf0fb0f1394 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Tue, 12 Jan 2021 16:56:38 +0000 Subject: [PATCH] Accepting request 862676 from home:mcalabkova:branches:devel:languages:python - Workaround pytest 6.2 OBS-URL: https://build.opensuse.org/request/show/862676 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Werkzeug?expand=0&rev=57 --- python-Werkzeug.changes | 5 +++++ python-Werkzeug.spec | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/python-Werkzeug.changes b/python-Werkzeug.changes index 8965bb3..bfe81e5 100644 --- a/python-Werkzeug.changes +++ b/python-Werkzeug.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jan 12 16:09:32 UTC 2021 - Markéta Machová + +- Workaround pytest 6.2 + ------------------------------------------------------------------- Sat Apr 4 17:47:06 UTC 2020 - Arun Persaud diff --git a/python-Werkzeug.spec b/python-Werkzeug.spec index 59836c4..5e61437 100644 --- a/python-Werkzeug.spec +++ b/python-Werkzeug.spec @@ -1,7 +1,7 @@ # # spec file for package python-Werkzeug # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -77,7 +77,8 @@ sed -i "1d" examples/manage-{i18nurls,simplewiki,shorty,couchy,cupoftee,webpylik %check export LANG=en_US.UTF-8 export PYTHONDONTWRITEBYTECODE=1 -%pytest +# workaround pytest 6.2 (like https://github.com/pallets/werkzeug/commit/16718f461d016b88b6457d3ef63816b7df1f0d1f, but shorter) +%pytest -p no:unraisableexception %files %{python_files} %license LICENSE.rst