Source

pypy-sandbox-4-pycode / dotviewer / conftest.py

Full commit
1
2
3
4
5
6
7
8
9
import py

def pytest_addoption(parser):
    group = parser.getgroup("dotviever")
    group.addoption('--pygame', action="store_true", 
        dest="pygame", default=False, 
        help="allow interactive tests using Pygame")

option = py.test.config.option