summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2018-09-19 18:05:44 -0400
committerNed Batchelder <ned@nedbatchelder.com>2018-09-19 18:05:44 -0400
commitb4b9c0b458325c98a3b3a3fcb6b3daa5bb63f4ec (patch)
tree733520a8f5497eecfdeb9a7bcf2a1564cc5e4a24
parent5fff9a625e91600346cfbaa0022060dfbc9e9fb3 (diff)
downloadpython-coveragepy-git-b4b9c0b458325c98a3b3a3fcb6b3daa5bb63f4ec.tar.gz
Clarify an error message
-rw-r--r--coverage/cmdline.py2
-rw-r--r--tests/test_cmdline.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/coverage/cmdline.py b/coverage/cmdline.py
index d7dfa68c..8f6b0a90 100644
--- a/coverage/cmdline.py
+++ b/coverage/cmdline.py
@@ -614,7 +614,7 @@ class CoverageScript(object):
# they will be None if they have not been specified.
if getattr(options, opt_name) is not None:
self.help_fn(
- "Options affecting multiprocessing must be specified "
+ "Options affecting multiprocessing must only be specified "
"in a configuration file."
)
return ERR
diff --git a/tests/test_cmdline.py b/tests/test_cmdline.py
index a4d01880..59c76c73 100644
--- a/tests/test_cmdline.py
+++ b/tests/test_cmdline.py
@@ -470,7 +470,7 @@ class CmdLineTest(BaseCmdLineTest):
# config file.
self.command_line("run --concurrency=multiprocessing --branch foo.py", ret=ERR)
self.assertIn(
- "Options affecting multiprocessing must be specified in a configuration file.",
+ "Options affecting multiprocessing must only be specified in a configuration file.",
self.stderr()
)