matplotlib/matplotlib — pull request #3312 by matthew-brett (2014-07-26 20:52:25+00:00)
Title: BUG: fix test error when ghostscript not installed

Confusingly checkdep_ghostscript returns a tuple rather than a bool, so we
need to check an element of the tuple to see whether ghostscript is installed.
Put the test into a decorator in case we need it for another test.