From 0adfba968e28cfb4e4d681e658866debbbd68089 Mon Sep 17 00:00:00 2001 From: Claude Paroz Date: Thu, 19 Jul 2018 22:44:40 +0200 Subject: Fixed #29578 -- Made numberformat.format() honor forced l10n usage. Thanks Sassan Haradji for the report. --- tests/admin_views/test_actions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/admin_views/test_actions.py') diff --git a/tests/admin_views/test_actions.py b/tests/admin_views/test_actions.py index c0ea30fcf7..1069f4a157 100644 --- a/tests/admin_views/test_actions.py +++ b/tests/admin_views/test_actions.py @@ -72,7 +72,7 @@ class AdminActionsTest(TestCase): self.assertContains(response, 'Are you sure you want to delete the selected subscribers?') self.assertContains(response, '', html=True) - @override_settings(USE_THOUSAND_SEPARATOR=True, USE_L10N=True) + @override_settings(USE_THOUSAND_SEPARATOR=True, USE_L10N=True, NUMBER_GROUPING=3) def test_non_localized_pk(self): """ If USE_THOUSAND_SEPARATOR is set, the ids for the objects selected for -- cgit v1.3