Project: datamanagement
Issue DM-5939: Pre-release versions of matplotlib 2.0 break afw unit tests
In the afw rgb unit test, testWriteStarsLegacyAPI checks to make sure that a file name with an unknown extension raises a value error. In current version of matplotlib, saving a file with an unknown extension causes this error: {code} *** ValueError: Format "unknown" is not supported. Supported formats: eps, jpeg, jpg, pdf, pgf, png, ps, raw, rgba, svg, svgz, tif, tiff. {code} In matplotlib 2.0 prerelease the file is saved as a png when an unknown extension is specified. Since the write call success the unit test fails as it is expecting a failure. If nothing depends on this behavior, the unit test should probably be removed.
Story points: 1