summaryrefslogtreecommitdiff
path: root/tests
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
commita2a2c1f3f41b0fc4afef0fe221499aedca343de8 (patch)
treec24bbf42690f4e28f056afbf3950f114968f47ed /tests
parentf176032f56c91a1f8a2d1b763f96955e47c0a121 (diff)
downloadpython-coveragepy-git-a2a2c1f3f41b0fc4afef0fe221499aedca343de8.tar.gz
Can't use --append and --parallel-mode together.
Diffstat (limited to 'tests')
-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 20444715..a379d402 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", """\