summaryrefslogtreecommitdiff
path: root/coverage/config.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2016-07-04 08:20:11 -0400
committerNed Batchelder <ned@nedbatchelder.com>2016-07-04 08:20:11 -0400
commite7fdd272fe8780230ef3aee9910324a932ab1d43 (patch)
treec7898b5f8e220598b962ed04f5d56ba3f08b4f8b /coverage/config.py
parentffe481b845ef14289f6920cd2a5b7928e6c78d6a (diff)
downloadpython-coveragepy-e7fdd272fe8780230ef3aee9910324a932ab1d43.tar.gz
Let the concurrency option be multi-valued. #484
Diffstat (limited to 'coverage/config.py')
-rw-r--r--coverage/config.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/coverage/config.py b/coverage/config.py
index f7b7eb6..23ec232 100644
--- a/coverage/config.py
+++ b/coverage/config.py
@@ -191,7 +191,7 @@ class CoverageConfig(object):
# Options for plugins
self.plugin_options = {}
- MUST_BE_LIST = ["omit", "include", "debug", "plugins"]
+ MUST_BE_LIST = ["omit", "include", "debug", "plugins", "concurrency"]
def from_args(self, **kwargs):
"""Read config values from `kwargs`."""
@@ -267,7 +267,7 @@ class CoverageConfig(object):
# [run]
('branch', 'run:branch', 'boolean'),
- ('concurrency', 'run:concurrency'),
+ ('concurrency', 'run:concurrency', 'list'),
('cover_pylib', 'run:cover_pylib', 'boolean'),
('data_file', 'run:data_file'),
('debug', 'run:debug', 'list'),