From: Adam <ada...@gm...> - 2010-07-24 21:09:27
|
Hello, I have just updated to v1.0.0 and am trying to run the test suite to make sure everything is ok. There seems to be two different suites and I am not sure which is correct/current: $python -c 'import matplotlib; matplotlib.test()' [...snipped output...] Ran 138 tests in 390.991s OK (KNOWNFAIL=2) $nosetests matplotlib.tests I get: [...snipped output] Ran 144 tests in 380.165s FAILED (errors=4, failures=1) Two of these errors are the known failures from above, and the other two are in "matplotlib.tests.test_text.test_font_styles": ImageComparisonFailure: images not close: /home/adam/result_images/test_text/font_styles.png vs. /home/adam/result_images/test_text/expected-font_styles.png (RMS 23.833) ImageComparisonFailure: images not close: /home/adam/result_images/test_text/font_styles_svg.png vs. /home/adam/result_images/test_text/expected-font_styles_svg.png (RMS 12.961) The module that fails is: FAIL: matplotlib.tests.test_mlab.test_recarray_csv_roundtrip ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/local/lib/python2.6/dist-packages/nose-0.11.4-py2.6.egg/nose/case.py", line 186, in runTest self.test(*self.arg) File "/usr/local/lib/python2.6/dist-packages/matplotlib/tests/test_mlab.py", line 24, in test_recarray_csv_roundtrip assert np.allclose( expected['x'], actual['x'] ) AssertionError I am not sure of the importance level of these - but I wanted to ask to see if I should do anything or if they can safely be ignored. Thanks, Adam. |