From e7fdd272fe8780230ef3aee9910324a932ab1d43 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Mon, 4 Jul 2016 08:20:11 -0400 Subject: Let the concurrency option be multi-valued. #484 --- coverage/config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'coverage/config.py') 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'), -- cgit v1.2.1