summaryrefslogtreecommitdiff
path: root/tests/test_cmdline.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_cmdline.py')
-rw-r--r--tests/test_cmdline.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/test_cmdline.py b/tests/test_cmdline.py
index 2c24c598..a0744452 100644
--- a/tests/test_cmdline.py
+++ b/tests/test_cmdline.py
@@ -544,10 +544,9 @@ class CmdLineTest(BaseCmdLineTest):
# runs, since they won't make it to the subprocesses. You need to use a
# config file.
self.command_line("run --concurrency=multiprocessing --branch foo.py", ret=ERR)
- assert "Options affecting multiprocessing must only be specified in a configuration file." in \
- self.stderr()
- assert "Remove --branch from the command line." in \
- self.stderr()
+ msg = "Options affecting multiprocessing must only be specified in a configuration file."
+ assert msg in self.stderr()
+ assert "Remove --branch from the command line." in self.stderr()
def test_run_debug(self):
self.cmd_executes("run --debug=opt1 foo.py", """\