Removed unnecessary numeric indexes in format strings.

This commit is contained in:
Jon Dufresne 2019-11-18 23:29:47 -08:00 committed by Mariusz Felisiak
parent 5cef2cd4a1
commit aa12cf07c9
7 changed files with 8 additions and 8 deletions

View file

@ -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):