15
0

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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-paramiko?expand=0&rev=96
This commit is contained in:
2020-12-07 07:24:21 +00:00
committed by Git OBS Bridge
parent 207dd34892
commit 2b1da4d95a
2 changed files with 6 additions and 0 deletions

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}