ekr- / aima-python

Automatically exported from code.google.com/p/aima-python
0 stars 0 forks source link

6 Tests failing in latest svn download of data and code #19

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. For failing test in mdp.py, the doctest output was wrong. Fixed the doctest 
output.
2. For 5 failing tests for the stochastic processes, the tests were failing 
because the expected output from ignoring the results was "Nothing" but the 
tests were still printing out results. This was because the test 
'present_results' was actually printing to standard output and the "ignore" 
method does not work in suppressing the output.
The fix was to test the 'query' method instead of the 'present_results' method.

What is the expected output? What do you see instead?
Expected: All tests should pass
Saw: 6 Tests failed - one in mdp.py and 5 in text.py

What version of the product are you using? On what operating system?
Using the latest from svn as of 07/24/2010.
OS: Ubuntu 10.04

Please provide any additional information below.
The files with fixes are attached below.

Original issue reported on code.google.com by chandrak...@gmail.com on 25 Jul 2010 at 6:02

Attachments:

GoogleCodeExporter commented 9 years ago
Looks all fixed some time ago.

Original comment by wit...@gmail.com on 15 Sep 2011 at 4:23