Skip to content

Commit 5203d4c

Browse files
committed
Use lowercase formatting
1 parent f8d7664 commit 5203d4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_admin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1947,7 +1947,7 @@ def test_sidebar_image_ratio_format(self):
19471947
context = {}
19481948
height, width, context = get_aspect_ratio_and_download_url(context=context, detail=True, file=image, height=40, width=40)
19491949
self.assertIsInstance(context['sidebar_image_ratio'], str)
1950-
expected_ratio = '%.6F' % (image.width / 210)
1950+
expected_ratio = '%.6f' % (image.width / 210)
19511951
self.assertEqual(context['sidebar_image_ratio'], expected_ratio)
19521952
self.assertEqual(context['sidebar_image_ratio'], '0.476190')
19531953

0 commit comments

Comments
 (0)