Coerce locale to UTF-8 encoding when running tests

Since 2.7.15, there is a test that shutil.copies to unicode filename.
This commit is contained in:
Miro Hrončok 2018-05-01 13:03:41 +02:00 committed by Charalampos Stratakis
parent a91fc3511d
commit 46589c055c
1 changed files with 4 additions and 0 deletions

View File

@ -1514,6 +1514,10 @@ CheckPython() {
%if 0%{run_selftest_suite}
# no locale coercion in python2
# test_ssl:test_load_dh_params shutil.copies into unicode filename
export LC_ALL=C.utf-8
# Check each of the configurations:
%if 0%{?with_debug_build}
CheckPython \