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
commita6bdf57239518ad149de626ec7c62c47393a85b3 (patch)
tree6ecc896f5c7ebe2bcfceae0d9d4524c3b694cfe6 /coverage/runners/noseplugin.py
parent9be47b1a910715e6a0803ac8b6c03aa8fe8f29d7 (diff)
downloadpython-coveragepy-git-a6bdf57239518ad149de626ec7c62c47393a85b3.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 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):