summaryrefslogtreecommitdiff
path: root/coverage/control.py
diff options
context:
space:
mode:
Diffstat (limited to 'coverage/control.py')
-rw-r--r--coverage/control.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/coverage/control.py b/coverage/control.py
index 2f2989cb..f350b3d1 100644
--- a/coverage/control.py
+++ b/coverage/control.py
@@ -247,6 +247,9 @@ class Coverage(object):
if concurrency == "multiprocessing":
patch_multiprocessing()
concurrency = None
+ # Multi-processing uses parallel for the subprocesses, so also use
+ # it for the main process.
+ self.config.parallel = True
self.collector = Collector(
should_trace=self._should_trace,