mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
Removed unnecessary numeric indexes in format strings.
This commit is contained in:
parent
5cef2cd4a1
commit
aa12cf07c9
7 changed files with 8 additions and 8 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue