def collect(self): try: check_sdl_installation() except SDLNotInstalled, e: py.test.skip("SDL not installed(?): %s" % (e,))
def run(self): try: check_sdl_installation() except SDLNotInstalled, e: py.test.skip("SDL not installed(?): %s" % (e, ))
def pytest_ignore_collect(path): try: check_sdl_installation() except SDLNotInstalled, e: return True