summaryrefslogtreecommitdiff
path: root/coverage/runners/pytestplugin.py
diff options
context:
space:
mode:
Diffstat (limited to 'coverage/runners/pytestplugin.py')
-rw-r--r--coverage/runners/pytestplugin.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/coverage/runners/pytestplugin.py b/coverage/runners/pytestplugin.py
index af825aa9..0032b13b 100644
--- a/coverage/runners/pytestplugin.py
+++ b/coverage/runners/pytestplugin.py
@@ -1,11 +1,11 @@
"""py.test plugin hooks"""
-from coverage.runners.plugin import CoverageTestWrapper, options
+from coverage.runners.plugin import CoverageTestWrapper, OPTIONS
def pytest_addoption(parser):
"""Get all the options from the coverage.runner and import them."""
group = parser.getgroup('Coverage options')
- for opt in options:
+ for opt in OPTIONS:
group._addoption_instance(opt)
def pytest_configure(config):