Пример #1
0
 def collect(self):
     try:
         check_sdl_installation()
     except SDLNotInstalled, e:
         py.test.skip("SDL not installed(?): %s" % (e,))
Пример #2
0
 def run(self):
     try:
         check_sdl_installation()
     except SDLNotInstalled, e:
         py.test.skip("SDL not installed(?): %s" % (e, ))
Пример #3
0
def pytest_ignore_collect(path):
    try:
        check_sdl_installation()
    except SDLNotInstalled, e:
        return True