Commits

Matt Chaput committed 6176b0a

Added benchmark/dcvgr10.txt.gz to manifest so it will be included in source distribution.
Fixes issue #161.

Comments (0)

Files changed (2)

 include *.txt
+include benchmark/dcvgr10.txt.gz
 recursive-include tests *.txt *.py
 recursive-include benchmark *.txt *.py
 recursive-include docs *.txt *.py *.rst

tests/test_spelling.py

     else:
         return
     
+    if not os.path.exists(path):
+        return
     wordfile = gzip.open(path, "r")
     cor = spelling.GraphCorrector.from_word_list(word.decode("latin-1")
                                                  for word in wordfile)