Try using our custom dictionary
diff --git a/codespell_lib/tests/test_dictionary.py b/codespell_lib/tests/test_dictionary.py
index 4035254..e24d96c 100644
--- a/codespell_lib/tests/test_dictionary.py
+++ b/codespell_lib/tests/test_dictionary.py
@@ -12,7 +12,8 @@
try:
import aspell
- speller = aspell.Speller('lang', 'en')
+ #speller = aspell.Speller('lang', 'en')
+ speller = aspell.Speller('lang', 'en-custom', 'data-dir': '/home/travis/build/codespell-project/codespell/aspell6-en-custom/')
except Exception as exp: # probably ImportError, but maybe also language
speller = None
if os.getenv('REQUIRE_ASPELL', 'false').lower() == 'true':