mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Removed unnecessary numeric indexes in format strings.
This commit is contained in:
committed by
Mariusz Felisiak
parent
5cef2cd4a1
commit
aa12cf07c9
@@ -883,7 +883,7 @@ class DateTimePickerSeleniumTests(AdminWidgetSeleniumTestCase):
|
||||
|
||||
# Get the expected caption
|
||||
may_translation = month_name
|
||||
expected_caption = '{0:s} {1:d}'.format(may_translation.upper(), 1984)
|
||||
expected_caption = '{:s} {:d}'.format(may_translation.upper(), 1984)
|
||||
|
||||
# Test with every locale
|
||||
with override_settings(LANGUAGE_CODE=language_code, USE_L10N=True):
|
||||
|
||||
Reference in New Issue
Block a user