From: Andrew S. <str...@as...> - 2009-09-06 23:37:21
|
John Hunter wrote: > On Sun, Sep 6, 2009 at 3:44 PM, John Hunter<jd...@gm...> wrote: > >> I am working on this stuff now and am near a solution for the empty >> datetime bug which is cleaner and more general. I'll populate tests >> for this stuff so just let me know where to put the baselines. >> > > Hey Andrew -- I finally got the new date tests working. Just run > lib/matplotlib/tests/test_dates.py to generate the new baseline images > and add them wherever you want them to go. Or if you'd rather I add > them create the baseline images dirs in svn and I'll add/commit them. > But I'll be offline for a bit so go ahead and add them if you want. > OK, great, we now have several examples of tests in matplotlib.tests, and they seem to be passing on the buildbot slaves now. I added the images to lib/matplotlib/tests/baseline_images. I also removed ".png" from the filenames in anticipation of auto-backend selection and comparison of other formats. (However, that's not something I plan to implement any time soon.) We now have 26 tests running on the buildbots and 11 with the plain "import matplotlib; matplotlib.test()", which tests only the new simplified tests. That means there are 15 tests left in the original testing infrastructure that remain to be ported over, which I don't think will be too hard now that I ported over JPL's units stuff into matplotlib.testing.jpl_units and test_matplotlib/TestAxes.py to matplotlib.tests.test_axes.py. -Andrew |