|
From: Michael D. <md...@st...> - 2009-10-09 15:52:53
|
I went to create a new image comparison test related to the hatching bug reported this morning. I added my test to the bottom of test_simplification.py, and ran all the tests as follows: python -c "import matplotlib; matplotlib.test()" Unfortunately, it doesn't seem to be running the new test at all. If I put "assert False" at the top of the test, and even that doesn't fail. If I remove the "image_comparison" decorator, however, the test will fail. Maybe this is because the baseline image doesn't exist yet? In the past, I've just run the tests, got a mismatch (because no baseline existed), and copied the current image to the baseline image and checked that in. Am I using the wrong workflow, or is this a bug? Cheers, Mike -- Michael Droettboom Science Software Branch Operations and Engineering Division Space Telescope Science Institute Operated by AURA for NASA |