diff options
author | Jon Dufresne <jon.dufresne@gmail.com> | 2019-11-18 23:29:47 -0800 |
---|---|---|
committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2019-11-19 08:29:47 +0100 |
commit | aa12cf07c9202e117712abe2621d901dd6dd94b4 (patch) | |
tree | 86f2cda8929755fcd8d1c27085c87946b9774150 /tests/admin_widgets | |
parent | 5cef2cd4a10e51035e2728e3e5e59265bc0347e0 (diff) | |
download | django-aa12cf07c9202e117712abe2621d901dd6dd94b4.tar.gz |
Removed unnecessary numeric indexes in format strings.
Diffstat (limited to 'tests/admin_widgets')
-rw-r--r-- | tests/admin_widgets/tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/admin_widgets/tests.py b/tests/admin_widgets/tests.py index 7aa597a87d..2bbf176ec3 100644 --- a/tests/admin_widgets/tests.py +++ b/tests/admin_widgets/tests.py @@ -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): |