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

martin.panter python-checkins at python.org
Sat Dec 12 02:41:35 EST 2015


https://hg.python.org/cpython/rev/903a2664d32d
changeset: 99540:903a2664d32d
branch: 2.7
parent: 99518:002d8b981128
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
@@ -39,7 +39,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.UTF-8' : ('\xd9\xab', '\xd9\xac'),
 }
 
-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list

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