Source

pypy / dotviewer / conftest.py

Diff from to

File dotviewer/conftest.py

 import py
 
 def pytest_addoption(parser):
-    group = parser.addgroup("dotviever")
+    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
+def pytest_configure(config):
+    global option
+    option = config.option