diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2014-09-24 21:03:16 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2014-09-24 21:03:16 -0400 |
commit | 7b5457967f256696d3b6c936e81436aa60b4b409 (patch) | |
tree | 6cc4e2517a408a730a525c4ee98ad38f3a532cff /coverage/cmdline.py | |
parent | 2eb5fe3be624d8f970d0394d32a1f2fa148a9372 (diff) | |
download | python-coveragepy-git-7b5457967f256696d3b6c936e81436aa60b4b409.tar.gz |
"concurrency" is a better name that "coroutine"
--HG--
rename : tests/test_coroutine.py => tests/test_concurrency.py
Diffstat (limited to 'coverage/cmdline.py')
-rw-r--r-- | coverage/cmdline.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/coverage/cmdline.py b/coverage/cmdline.py index c723fa95..51aa5fe5 100644 --- a/coverage/cmdline.py +++ b/coverage/cmdline.py @@ -19,9 +19,9 @@ class Opts(object): '', '--branch', action='store_true', help="Measure branch coverage in addition to statement coverage." ) - coroutine = optparse.make_option( - '', '--coroutine', action='store', metavar="LIB", - help="Properly measure code using coroutines." + concurrency = optparse.make_option( + '', '--concurrency', action='store', metavar="LIB", + help="Properly measure code using a concurrency library." ) debug = optparse.make_option( '', '--debug', action='store', metavar="OPTS", @@ -125,7 +125,7 @@ class CoverageOptionParser(optparse.OptionParser, object): self.set_defaults( actions=[], branch=None, - coroutine=None, + concurrency=None, debug=None, directory=None, fail_under=None, @@ -320,7 +320,7 @@ CMDS = { [ Opts.append, Opts.branch, - Opts.coroutine, + Opts.concurrency, Opts.debug, Opts.pylib, Opts.parallel_mode, @@ -429,7 +429,7 @@ class CoverageScript(object): omit = omit, include = include, debug = debug, - coroutine = options.coroutine, + concurrency = options.concurrency, ) if 'debug' in options.actions: |