From: nathan-williams Date: Fri, 19 Jul 2024 16:07:14 +0000 (-0400) Subject: Fix type: endsWith => endswith X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c6fa0d8a8f5e292eed108e49f309801b696331ed;p=thirdparty%2Fgoogle%2Ffonts.git Fix type: endsWith => endswith --- diff --git a/tests/test_data_languages.py b/tests/test_data_languages.py index f206ef8365..4e347dd9b4 100644 --- a/tests/test_data_languages.py +++ b/tests/test_data_languages.py @@ -298,7 +298,7 @@ def test_language_name_structure(): for type, name in names: bad_structure = not re.match(LANGUAGE_NAME_REGEX, name) bad_script_suffix = name.endswith( - ")") and not name.endsWith(f"({script_name})") + ")") and not name.endswith(f"({script_name})") if bad_structure or bad_script_suffix: bad_names.append(type) if len(bad_names) > 0: