[Python-checkins] cpython (3.5): Issue #25809: Skip testing platform-dependent French thousands separator

martin.panter python-checkins at python.org
Sat Dec 12 02:31:23 EST 2015


https://hg.python.org/cpython/rev/4f24a6dc934b
changeset: 99534:4f24a6dc934b
branch: 3.5
parent: 99532:cc1aa0e88626
user: Martin Panter <vadmium+py at gmail.com>
date: Sat Dec 12 06:53:34 2015 +0000
summary:
 Issue #25809: Skip testing platform-dependent French thousands separator
files:
 Lib/test/test__locale.py | 4 +++-
 1 files changed, 3 insertions(+), 1 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
@@ -67,7 +67,9 @@
 known_numerics = {
 'en_US': ('.', ','),
 'de_DE' : (',', '.'),
- 'fr_FR.UTF-8' : (',', ' '),
+ # The French thousands separator may be a breaking or non-breaking space
+ # depending on the platform, so do not test it
+ 'fr_FR' : (',', ''),
 'ps_AF': ('\u066b', '\u066c'),
 }
 
-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /