1. William Leslie
  2. pypy-effect-analysis

Source

pypy-effect-analysis / pypy / rlib / rsdl / conftest.py

1
2
3
4
5
6
7
8
from pypy.rlib.rsdl.eci import check_sdl_installation, SDLNotInstalled
import py

def pytest_collect_directory():
    try:
        check_sdl_installation()
    except SDLNotInstalled, e:
        py.test.skip("SDL not installed(?): %s" % (e,))