@classmethod
    def setupClass(cls):
        global plt
        try:
            import matplotlib as mpl
            mpl.use('PS',warn=False)
            import matplotlib.pyplot as plt
        except __HOLE__:
            raise SkipTest('matplotlib not available.')
        except RuntimeError:
            raise SkipTest('matplotlib not available.')
dataset/ETHPy150Open gkno/gkno_launcher/src/networkx/drawing/tests/test_pylab.py/TestPylab.setupClass