]> granicus.if.org Git - python/commitdiff
Issue #24299: Fixed test__locale on Solaris.
authorSerhiy Storchaka <storchaka@gmail.com>
Mon, 8 Jun 2015 15:48:33 +0000 (18:48 +0300)
committerSerhiy Storchaka <storchaka@gmail.com>
Mon, 8 Jun 2015 15:48:33 +0000 (18:48 +0300)
Lib/test/test__locale.py

index 8d1c8db2acc9198a7e1cc3687e3d16d8aa9aa974..d95d3a4e0baa0083d7e701f907e962e1c2bebfbd 100644 (file)
@@ -24,7 +24,8 @@ candidate_locales = ['es_UY', 'fr_FR', 'fi_FI', 'es_CO', 'pt_PT', 'it_IT',
     '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', '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@euro',
+    'ru_RU.KOI8-R', 'ko_KR.eucKR']
 
 def setUpModule():
     global candidate_locales
@@ -65,8 +66,8 @@ def setUpModule():
 # value is not known, use '' .
 known_numerics = {
     'en_US': ('.', ','),
-    'fr_FR' : (',', ' '),
     'de_DE' : (',', '.'),
+    'fr_FR.UTF-8' : (',', ' '),
     'ps_AF': ('\u066b', '\u066c'),
 }