summaryrefslogtreecommitdiff
path: root/coverage/runners/noseplugin.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2010-06-01 07:55:11 -0400
committerNed Batchelder <ned@nedbatchelder.com>2010-06-01 07:55:11 -0400
commitedf151c4917a39fdbb1362af1a440aa376eacc76 (patch)
tree04706c433b85bbc9d098c72e0d2c892c18fed088 /coverage/runners/noseplugin.py
parent316a9d5a98f072dd14e25601467a49ba8397342a (diff)
downloadpython-coveragepy-edf151c4917a39fdbb1362af1a440aa376eacc76.tar.gz
Add some docstrings
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 930ef14..279293a 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):