summaryrefslogtreecommitdiff
path: root/tests/test_api.py
diff options
context:
space:
mode:
authorÉric Larivière <elarivie@users.noreply.github.com>2021-01-30 17:55:11 -0500
committerGitHub <noreply@github.com>2021-01-30 17:55:11 -0500
commita0f6692f5cc9344ae790300dcc0cf743ac9abbd3 (patch)
tree9884b4de9221850ffe5a10f919322d2ffeabdcef /tests/test_api.py
parent0143891b04c0c800fe1a508ab424cbe825f4210b (diff)
downloadpython-coveragepy-git-a0f6692f5cc9344ae790300dcc0cf743ac9abbd3.tar.gz
Add combine --keep (#1110)
* Add combine --keep Related to https://github.com/nedbat/coveragepy/issues/1108 * Fix unit tests * Fix line too long * Fix line too long
Diffstat (limited to 'tests/test_api.py')
-rw-r--r--tests/test_api.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_api.py b/tests/test_api.py
index f8b7b4b2..62fd9ebc 100644
--- a/tests/test_api.py
+++ b/tests/test_api.py
@@ -442,7 +442,7 @@ class ApiTest(CoverageTest):
cov2 = coverage.Coverage()
with self.assertRaisesRegex(CoverageException, r"No data to combine"):
- cov2.combine(strict=True)
+ cov2.combine(strict=True, keep=False)
cov3 = coverage.Coverage()
cov3.combine()