From 59b07a12de95de776fa2f44a2101f63a156fee75 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Fri, 29 Oct 2021 06:33:31 -0400 Subject: deprecated: the annotate command will be removed in a future version --- tests/test_annotate.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'tests') 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") -- cgit v1.2.1