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 11:00:40 +0200
commitacaa2015274fa79aa79184e1ee824cdc791f580e (patch)
tree52f296cf336a53bf1e44fcc2b99821913fdea537 /tests
parent810e656aca21a2389c1666e1cb132f6dd02a1e4b (diff)
[3.1.x] Fixed #30134 -- Ensured unlocalized numbers are string representation in templates.
Backport of 9e57b1efb5205bd94462e9de35254ec5ea6eb04e from master
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,