14
0

Accepting request 815873 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/815873
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-waitress?expand=0&rev=20
This commit is contained in:
2020-06-23 19:03:00 +00:00
committed by Git OBS Bridge
2 changed files with 11 additions and 0 deletions

View File

@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Wed Jun 17 08:40:18 UTC 2020 - Jacek Tomasiak <jtomasiak@suse.com>
- make sure UTF8 locale is used when runnning tests
* Sometimes functional tests executed in python3 failed if stdout was not
set to UTF-8. The error message was:
ValueError: underlying buffer has been detached
-------------------------------------------------------------------
Mon May 18 07:25:32 UTC 2020 - Petr Gajdos <pgajdos@suse.com>

View File

@@ -75,6 +75,9 @@ python3 setup.py build_sphinx && rm build/sphinx/html/.buildinfo
%check
# Tests require a network connection
rm waitress/tests/test_adjustments.py
# make sure utf8 locale is set or tests could fail with:
# ValueError: underlying buffer has been detached
export LANG=en_US.UTF8
%python_exec setup.py test
%post