summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorClaude Paroz <claude@2xlibre.net>2020-06-04 09:11:37 +0200
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2020-06-04 10:34:54 +0200
commit9e57b1efb5205bd94462e9de35254ec5ea6eb04e (patch)
tree73978009b7fa524b6cc92f48aeb51940f673b0d0 /tests
parent51250d2f123b694ab7e09c119cb72d4878266688 (diff)
Fixed #30134 -- Ensured unlocalized numbers are string representation in templates.
Diffstat (limited to 'tests')
-rw-r--r--tests/i18n/tests.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/i18n/tests.py b/tests/i18n/tests.py
index 9b2d1258bc..affda21fb4 100644
--- a/tests/i18n/tests.py
+++ b/tests/i18n/tests.py
@@ -1218,6 +1218,7 @@ class FormattingTests(SimpleTestCase):
for use_l10n in [True, False]:
with self.subTest(use_l10n=use_l10n), self.settings(
USE_L10N=use_l10n,
+ DECIMAL_SEPARATOR=',',
USE_THOUSAND_SEPARATOR=True,
THOUSAND_SEPARATOR='°',
NUMBER_GROUPING=2,