forked from pool/python-waitress
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:
@@ -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>
|
Mon May 18 07:25:32 UTC 2020 - Petr Gajdos <pgajdos@suse.com>
|
||||||
|
|
||||||
|
@@ -75,6 +75,9 @@ python3 setup.py build_sphinx && rm build/sphinx/html/.buildinfo
|
|||||||
%check
|
%check
|
||||||
# Tests require a network connection
|
# Tests require a network connection
|
||||||
rm waitress/tests/test_adjustments.py
|
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
|
%python_exec setup.py test
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
Reference in New Issue
Block a user