[Python-checkins] cpython (2.7): Issue #24299: Fixed test__locale on Solaris.

serhiy.storchaka python-checkins at python.org
Mon Jun 8 17:50:51 CEST 2015


https://hg.python.org/cpython/rev/00f8804f559c
changeset:   96543:00f8804f559c
branch:      2.7
parent:      96523:9ac8df41dde7
user:        Serhiy Storchaka <storchaka at gmail.com>
date:        Mon Jun 08 18:48:33 2015 +0300
summary:
  Issue #24299: Fixed test__locale on Solaris.

files:
  Lib/test/test__locale.py |  5 +++--
  1 files changed, 3 insertions(+), 2 deletions(-)


diff --git a/Lib/test/test__locale.py b/Lib/test/test__locale.py
--- a/Lib/test/test__locale.py
+++ b/Lib/test/test__locale.py
@@ -23,7 +23,8 @@
     'de_DE', 'sr_YU', 'br_FR', 'nl_BE', 'sv_FI', 'pl_PL', 'fr_CA', 'fo_FO',
     'bs_BA', 'fr_LU', 'kl_GL', 'fa_IR', 'de_BE', 'sv_SE', 'it_CH', 'uk_UA',
     'eu_ES', 'vi_VN', 'af_ZA', 'nb_NO', 'en_DK', 'tg_TJ', 'ps_AF.UTF-8', 'en_US',
-    'es_ES.ISO8859-1', 'fr_FR.ISO8859-15', 'ru_RU.KOI8-R', 'ko_KR.eucKR']
+    'fr_FR.ISO8859-1', 'fr_FR.UTF-8', 'fr_FR.ISO8859-15 at euro',
+    'ru_RU.KOI8-R', 'ko_KR.eucKR']
 
 # Workaround for MSVC6(debug) crash bug
 if "MSC v.1200" in sys.version:
@@ -37,8 +38,8 @@
 # value is not known, use '' .
 known_numerics = {
     'en_US': ('.', ','),
-    'fr_FR' : (',', ' '),
     'de_DE' : (',', '.'),
+    'fr_FR.UTF-8' : (',', ' '),
     'ps_AF.UTF-8' : ('\xd9\xab', '\xd9\xac'),
 }
 

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list