diff options
| author | Claude Paroz <claude@2xlibre.net> | 2018-07-19 22:44:40 +0200 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2018-07-19 16:44:57 -0400 |
| commit | 1084bcc4b78c0a5810a53a32c9678c3563380c9e (patch) | |
| tree | 20532623dec33fb4631ba1fb237910a10303dcda /tests/admin_views | |
| parent | 3153cb319d0ba4f14662634a928b272d689455c0 (diff) | |
[2.1.x] Fixed #29578 -- Made numberformat.format() honor forced l10n usage.
Thanks Sassan Haradji for the report.
Backport of 0adfba968e28cfb4e4d681e658866debbbd68089 from master
Diffstat (limited to 'tests/admin_views')
| -rw-r--r-- | tests/admin_views/test_actions.py | 2 |
1 files changed, 1 insertions, 1 deletions
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, '<ul></ul>', 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 |
