summaryrefslogtreecommitdiff
path: root/tests/test_cmdline.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2015-07-30 19:51:08 -0400
committerNed Batchelder <ned@nedbatchelder.com>2015-07-30 19:51:08 -0400
commit98f38f393b954f0e99cc16303911fb5bd26f1b61 (patch)
tree4f665ad4add72f5253f7b6acdebae9b41a02cd35 /tests/test_cmdline.py
parent8b9ba53c845a304dfddc5a78cf0107365edc505d (diff)
downloadpython-coveragepy-98f38f393b954f0e99cc16303911fb5bd26f1b61.tar.gz
Can't use --append and --parallel-mode together.
Diffstat (limited to 'tests/test_cmdline.py')
-rw-r--r--tests/test_cmdline.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test_cmdline.py b/tests/test_cmdline.py
index 2044471..a379d40 100644
--- a/tests/test_cmdline.py
+++ b/tests/test_cmdline.py
@@ -486,6 +486,10 @@ class CmdLineTest(BaseCmdLineTest):
self.command_line("run", ret=ERR)
self.assertIn("Nothing to do", self.stdout())
+ def test_cant_append_parallel(self):
+ self.command_line("run --append --parallel-mode foo.py", ret=ERR)
+ self.assertIn("Can't append to data files in parallel mode.", self.stdout())
+
def test_xml(self):
# coverage xml [-i] [--omit DIR,...] [FILE1 FILE2 ...]
self.cmd_executes("xml", """\