From: Martin Panter Date: Sat, 12 Dec 2015 06:53:34 +0000 (+0000) Subject: Issue #25809: Skip testing platform-dependent French thousands separator X-Git-Tag: v2.7.12rc1~340 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7b9e7ed59f696e4cf9f832c0ee2899ef3f44f9ec;p=thirdparty%2FPython%2Fcpython.git Issue #25809: Skip testing platform-dependent French thousands separator --- diff --git a/Lib/test/test__locale.py b/Lib/test/test__locale.py index 9b5914e3ca18..576642d21340 100644 --- a/Lib/test/test__locale.py +++ b/Lib/test/test__locale.py @@ -39,7 +39,9 @@ if "MSC v.1200" in sys.version: 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'), }