Package: wnpp Severity: wishlist Owner: Leo Singer <leo.sin...@ligo.org> X-Debbugs-CC: debian-astro-maintain...@lists.alioth.debian.org
* Package name : pytest-mpl Version : 0.7 Upstream Author : Thomas Robitaille <thomas.robitai...@gmail.com> * URL : https://pypi.python.org/pypi/pytest-mpl * License : BSD Programming Lang: Python Description : Plugin to faciliate image comparison for Matplotlib figures in pytest From the PyPI package description: > This is a plugin to faciliate image comparison for Matplotlib figures in > pytest. > > Matplotlib includes a number of test utilities and decorators, but these > are geared towards the nose testing framework. Pytest-mpl makes it easy > to compare figures produced by tests to reference images when using > pytest. > > For each figure to test, the reference image is substracted from the > generated image, and the RMS of the residual is compared to a > user-specified tolerance. If the residual is too large, the test will > fail (this is implemented using helper functions from > matplotlib.testing). This package is used by some of the unit tests for python-astropy that are currently being skipped. Adding this package will increase the scope of the unit tests that get run for python-astropy.