예제 #1
0
파일: conftest.py 프로젝트: alkorzt/pypy
 def collect(self):
     try:
         check_sdl_installation()
     except SDLNotInstalled, e:
         py.test.skip("SDL not installed(?): %s" % (e,))
예제 #2
0
파일: conftest.py 프로젝트: griels/pypy-sc
 def run(self):
     try:
         check_sdl_installation()
     except SDLNotInstalled, e:
         py.test.skip("SDL not installed(?): %s" % (e, ))
예제 #3
0
파일: conftest.py 프로젝트: purepython/pypy
def pytest_ignore_collect(path):
    try:
        check_sdl_installation()
    except SDLNotInstalled, e:
        return True