Accepting request 853510 from devel:languages:python

- Set environment to utf-8 to allow tests to pass on Python 2. (bsc#1178341)

OBS-URL: https://build.opensuse.org/request/show/853510
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-paramiko?expand=0&rev=50
This commit is contained in:
Dominique Leuenberger 2020-12-12 19:28:57 +00:00 committed by Git OBS Bridge
commit 6de84324a9
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Dec 7 07:22:31 UTC 2020 - Steve Kowalik <steven.kowalik@suse.com>
- Set environment to utf-8 to allow tests to pass on Python 2. (bsc#1178341)
-------------------------------------------------------------------
Tue Oct 13 10:51:07 UTC 2020 - Benjamin Greiner <code@bnavigator.de>

View File

@ -84,6 +84,7 @@ find demos -name "*.py" -exec sed -i "/#\!\/usr\/bin\/.*/d" {} \;
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
export LANG=en_US.UTF-8
%pytest
%files %{python_files}