Skip to content

Commit b4b9c0b

Browse files
committed
Clarify an error message
1 parent 5fff9a6 commit b4b9c0b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

coverage/cmdline.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -614,7 +614,7 @@ def do_run(self, options, args):
614614
# they will be None if they have not been specified.
615615
if getattr(options, opt_name) is not None:
616616
self.help_fn(
617-
"Options affecting multiprocessing must be specified "
617+
"Options affecting multiprocessing must only be specified "
618618
"in a configuration file."
619619
)
620620
return ERR

tests/test_cmdline.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ def test_multiprocessing_needs_config_file(self):
470470
# config file.
471471
self.command_line("run --concurrency=multiprocessing --branch foo.py", ret=ERR)
472472
self.assertIn(
473-
"Options affecting multiprocessing must be specified in a configuration file.",
473+
"Options affecting multiprocessing must only be specified in a configuration file.",
474474
self.stderr()
475475
)
476476

0 commit comments

Comments
 (0)