summaryrefslogtreecommitdiff
path: root/coverage/control.py
diff options
context:
space:
mode:
Diffstat (limited to 'coverage/control.py')
-rw-r--r--coverage/control.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/coverage/control.py b/coverage/control.py
index 0f9f675e..910cfb08 100644
--- a/coverage/control.py
+++ b/coverage/control.py
@@ -462,6 +462,8 @@ class Coverage:
raise ConfigError( # pragma: only jython
"multiprocessing is not supported on this Python"
)
+ if self.config.config_file is None:
+ raise ConfigError("multiprocessing requires a configuration file")
patch_multiprocessing(rcfile=self.config.config_file)
dycon = self.config.dynamic_context