From aa12cf07c9202e117712abe2621d901dd6dd94b4 Mon Sep 17 00:00:00 2001 From: Jon Dufresne Date: Mon, 18 Nov 2019 23:29:47 -0800 Subject: Removed unnecessary numeric indexes in format strings. --- tests/admin_widgets/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/admin_widgets') 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): -- cgit v1.3