@classmethod
    def setupClass(cls):
        global yaml
        try:
            import yaml
        except __HOLE__:
            raise SkipTest('yaml not available.')
dataset/ETHPy150Open gkno/gkno_launcher/src/networkx/readwrite/tests/test_yaml.py/TestYaml.setupClass