From adbb04d5dca5ae4f59ce51ca7474a3918e1f377d Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Wed, 5 Apr 2023 12:32:13 +0300 Subject: [PATCH] Formatting for readability --- Tests/test_imagefont.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Tests/test_imagefont.py b/Tests/test_imagefont.py index f43044efe..a614b0fe5 100644 --- a/Tests/test_imagefont.py +++ b/Tests/test_imagefont.py @@ -306,7 +306,10 @@ def test_rotated_transposed_font(font, orientation): bbox_b = draw.textbbox((20, 20), word) # Check (w,h) of box a is (h,w) of box b - assert (bbox_a[2] - bbox_a[0], bbox_a[3] - bbox_a[1]) == ( + assert ( + bbox_a[2] - bbox_a[0], + bbox_a[3] - bbox_a[1], + ) == ( bbox_b[3] - bbox_b[1], bbox_b[2] - bbox_b[0], ) @@ -349,7 +352,10 @@ def test_unrotated_transposed_font(font, orientation): length_b = draw.textlength(word) # Check boxes a and b are same size - assert (bbox_a[2] - bbox_a[0], bbox_a[3] - bbox_a[1]) == ( + assert ( + bbox_a[2] - bbox_a[0], + bbox_a[3] - bbox_a[1], + ) == ( bbox_b[2] - bbox_b[0], bbox_b[3] - bbox_b[1], )