diff --git a/python2.spec b/python2.spec index d3b3afd..b08bdaf 100644 --- a/python2.spec +++ b/python2.spec @@ -1529,6 +1529,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 \