summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test_api.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_api.py b/tests/test_api.py
index d7e47db..b5fcd53 100644
--- a/tests/test_api.py
+++ b/tests/test_api.py
@@ -581,6 +581,7 @@ class SourceOmitIncludeTest(OmitIncludeTestsMixin, CoverageTest):
cov = coverage.Coverage(source=["pkg1"], include=["pkg2"])
with self.assert_warnings(cov, ["--include is ignored because --source is set"]):
cov.start()
+ cov.stop()
def test_source_package_as_dir(self):
# pkg1 is a directory, since we cd'd into tests/modules in setUp.