summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_locale.py
diff options
context:
space:
mode:
authorInada Naoki <songofacandy@gmail.com>2020-01-20 03:45:50 (GMT)
committerGitHub <noreply@github.com>2020-01-20 03:45:50 (GMT)
commite96d954527aa376457451e32a9d75ae3ea9ab4bd (patch)
treed5e8e7d8d79097d8d420d65fa055cef116f72934 /Lib/test/test_locale.py
parentd8ef64422a75f40cecdb1a7ee43492607d3daaf6 (diff)
downloadcpython-e96d954527aa376457451e32a9d75ae3ea9ab4bd.zip
cpython-e96d954527aa376457451e32a9d75ae3ea9ab4bd.tar.gz
cpython-e96d954527aa376457451e32a9d75ae3ea9ab4bd.tar.bz2
bpo-38536: locale: Remove trailing space in formatted currency (GH-16864)
Diffstat (limited to 'Lib/test/test_locale.py')
-rw-r--r--Lib/test/test_locale.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/test/test_locale.py b/Lib/test/test_locale.py
index c5d8e26..2863d20 100644
--- a/Lib/test/test_locale.py
+++ b/Lib/test/test_locale.py
@@ -334,8 +334,7 @@ class TestFrFRNumberFormatting(FrFRCookedTest, BaseFormattingTest):
euro = '\u20ac'
self._test_currency(50000, "50000,00 " + euro)
self._test_currency(50000, "50 000,00 " + euro, grouping=True)
- # XXX is the trailing space a bug?
- self._test_currency(50000, "50 000,00 EUR ",
+ self._test_currency(50000, "50 000,00 EUR",
grouping=True, international=True)