From edf151c4917a39fdbb1362af1a440aa376eacc76 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Tue, 1 Jun 2010 07:55:11 -0400 Subject: Add some docstrings --- coverage/runners/noseplugin.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'coverage/runners/noseplugin.py') 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): -- cgit v1.2.1