summaryrefslogtreecommitdiff
path: root/tests/test_annotate.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2021-10-29 06:33:31 -0400
committerNed Batchelder <ned@nedbatchelder.com>2021-10-29 06:33:31 -0400
commit59b07a12de95de776fa2f44a2101f63a156fee75 (patch)
tree464bd511dd250e1917df5536fe14b4098e2749fc /tests/test_annotate.py
parent81a55d102550b4535191756960f6846083fc7e30 (diff)
downloadpython-coveragepy-git-59b07a12de95de776fa2f44a2101f63a156fee75.tar.gz
deprecated: the annotate command will be removed in a future version
Diffstat (limited to 'tests/test_annotate.py')
-rw-r--r--tests/test_annotate.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/test_annotate.py b/tests/test_annotate.py
index 15b31273..97f2080b 100644
--- a/tests/test_annotate.py
+++ b/tests/test_annotate.py
@@ -123,5 +123,10 @@ class AnnotationGoldTest(CoverageTest):
cov = coverage.Coverage()
self.start_import_stop(cov, "mae")
cov.annotate()
- assert self.stdout() == "1\n2\n"
+ assert self.stdout() == (
+ "1\n" +
+ "2\n" +
+ "The annotate command will be removed in a future version.\n" +
+ "Get in touch if you still use it: ned@nedbatchelder.com\n"
+ )
compare(gold_path("annotate/mae"), ".", "*,cover")