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
This commit is contained in:
Markéta Machová 2021-01-12 16:56:38 +00:00 committed by Git OBS Bridge
parent 239a86e175
commit 407be53827
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Jan 12 16:09:32 UTC 2021 - Markéta Machová <mmachova@suse.com>
- Workaround pytest 6.2
-------------------------------------------------------------------
Sat Apr 4 17:47:06 UTC 2020 - Arun Persaud <arun@gmx.de>

View File

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