1. Pypy
  2. Untitled project
  3. pypy

Source

pypy / dotviewer / conftest.py

The branch 'stm-gc' does not exist.
Diff from to

File dotviewer/conftest.py

  • Ignore whitespace
 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