From ec0a5b9e4d4167965751920368d55c3615cb9b20 Mon Sep 17 00:00:00 2001 From: Peter Newman Date: Fri, 28 Jul 2023 09:12:06 +0100 Subject: [PATCH] Fix the name of the extra word lists we load (#2976) --- .../{en_GB-additionnal.wordlist => en_GB-additional.wordlist} | 0 .../{en_US-additionnal.wordlist => en_US-additional.wordlist} | 0 codespell_lib/tests/test_dictionary.py | 2 +- 3 files changed, 1 insertion(+), 1 deletion(-) rename codespell_lib/tests/data/{en_GB-additionnal.wordlist => en_GB-additional.wordlist} (100%) rename codespell_lib/tests/data/{en_US-additionnal.wordlist => en_US-additional.wordlist} (100%) diff --git a/codespell_lib/tests/data/en_GB-additionnal.wordlist b/codespell_lib/tests/data/en_GB-additional.wordlist similarity index 100% rename from codespell_lib/tests/data/en_GB-additionnal.wordlist rename to codespell_lib/tests/data/en_GB-additional.wordlist diff --git a/codespell_lib/tests/data/en_US-additionnal.wordlist b/codespell_lib/tests/data/en_US-additional.wordlist similarity index 100% rename from codespell_lib/tests/data/en_US-additionnal.wordlist rename to codespell_lib/tests/data/en_US-additional.wordlist diff --git a/codespell_lib/tests/test_dictionary.py b/codespell_lib/tests/test_dictionary.py index 059b7f46a4..60d88d7b27 100644 --- a/codespell_lib/tests/test_dictionary.py +++ b/codespell_lib/tests/test_dictionary.py @@ -16,7 +16,7 @@ _test_data_dir = op.join(op.dirname(__file__), "..", "tests", "data") for lang in supported_languages: - _wordlist = op.join(_test_data_dir, f"{lang}-additionnal.wordlist") + _wordlist = op.join(_test_data_dir, f"{lang}-additional.wordlist") if op.isfile(_wordlist): spellers[lang] = aspell.Speller( ("lang", lang), ("size", "80"), ("wordlists", _wordlist)