summaryrefslogtreecommitdiff
path: root/coverage/runners/noseplugin.py
diff options
context:
space:
mode:
Diffstat (limited to 'coverage/runners/noseplugin.py')
-rw-r--r--coverage/runners/noseplugin.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/coverage/runners/noseplugin.py b/coverage/runners/noseplugin.py
index 930ef140..279293a1 100644
--- a/coverage/runners/noseplugin.py
+++ b/coverage/runners/noseplugin.py
@@ -3,8 +3,7 @@
import logging
from nose.plugins import Plugin
-from coverage.runners.plugin import CoverageTestWrapper
-from coverage.runners.plugin import options as coverage_opts
+from coverage.runners.plugin import CoverageTestWrapper, OPTIONS
log = logging.getLogger("nose.plugins.coverage")
@@ -24,7 +23,7 @@ class Coverage(Plugin):
"""Add command-line options."""
super(Coverage, self).options(parser, env)
- for opt in coverage_opts:
+ for opt in OPTIONS:
parser.add_option(opt)
def configure(self, options, config):