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:
parent
066c258587
commit
080ef9bdfb
@ -1534,6 +1534,10 @@ CheckPython() {
|
||||
|
||||
%if %{with tests}
|
||||
|
||||
# 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 %{with debug_build}
|
||||
CheckPython \
|
||||
|
Loading…
Reference in New Issue
Block a user