From 7b9e7ed59f696e4cf9f832c0ee2899ef3f44f9ec Mon Sep 17 00:00:00 2001 From: Martin Panter Date: Sat, 12 Dec 2015 06:53:34 +0000 Subject: [PATCH] Issue #25809: Skip testing platform-dependent French thousands separator --- Lib/test/test__locale.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Lib/test/test__locale.py b/Lib/test/test__locale.py index 9b5914e3ca1..576642d2134 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'), }