diff --git a/tests/checks/googlefonts_test.py b/tests/checks/googlefonts_test.py index a5c6afea66..7341e7430d 100644 --- a/tests/checks/googlefonts_test.py +++ b/tests/checks/googlefonts_test.py @@ -4082,9 +4082,9 @@ def test_check_gf_axisregistry_valid_tags(): assert_PASS(check(font)) md = Font(font).family_metadata - md.axes[0].tag = ( - "crap" # I'm pretty sure this one wont ever be included in the registry - ) + md.axes[ + 0 + ].tag = "crap" # I'm pretty sure this one wont ever be included in the registry assert_results_contain( check(MockFont(file=font, family_metadata=md)), FAIL, "bad-axis-tag" ) @@ -4149,7 +4149,9 @@ def test_check_metadata_consistent_axis_enumeration(): assert_PASS(check(font)) md = Font(font).family_metadata - md.axes[1].tag = ( + md.axes[ + 1 + ].tag = ( "wdth" # this effectively removes the "wght" axis while not adding an extra one ) assert_results_contain(