def run(self):
    import sys, subprocess
    try:
      from py import test as pytest
    except __HOLE__:
      raise Exception('Running tests requires pytest.')
    errno = subprocess.call([sys.executable, '-m', 'py.test'])
    raise SystemExit(errno)
dataset/ETHPy150Open wickman/pystachio/setup.py/PyTest.run