-
Notifications
You must be signed in to change notification settings - Fork 4k
Closed
Description
If I try to run the tests
$ python doctests.py -v *.py
some fail because they can't find the data directory or the files in it.
These are the lines that originate the problems:
search.py:
BoggleFinder.wordlist = Wordlist("../data/wordlist")
(should be EN-text/wordlist)
text.py:
mandir = '../data/man/'
(should be MAN)
flatland = DataFile("flat11.txt").read() # there are two of these!
(should be EN-text/flatland.txt)
Finally, after replacing all the "../data/" with my "../aima-data/"
(checked out from the SVN repository), the tests were all successful (apart
from the one I mentioned in the other report).
--
Now I'll get back to try to understand the code, which is obviously much
more interesting. :-)
Thanks for releasing these programs with a free license, they're very
useful educational tools.
Best regards,
Matteo
Original issue reported on code.google.com by matteo.a...@gmail.com on 1 Oct 2007 at 3:04