summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDaniƫl van Noord <13665637+DanielNoord@users.noreply.github.com>2021-11-24 15:16:14 +0100
committerGitHub <noreply@github.com>2021-11-24 15:16:14 +0100
commitc056248a458330b1813c144310fbc5d4bb82a3d9 (patch)
tree9a20092b49e89d3cac9ce1e1bd545efc2d10d089 /doc
parent7c3533ca48e69394391945de1563ef7f639cd27d (diff)
downloadpylint-git-c056248a458330b1813c144310fbc5d4bb82a3d9.tar.gz
Fix checking of ``confidence`` in the unittests (#5376)
* Fix checking of ``confidence`` in the unittests Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/whatsnew/2.12.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/whatsnew/2.12.rst b/doc/whatsnew/2.12.rst
index 473a3ba02..24f3a9ddb 100644
--- a/doc/whatsnew/2.12.rst
+++ b/doc/whatsnew/2.12.rst
@@ -63,6 +63,12 @@ New checkers
Follow-up in #5259
+* ``MessageTest`` of the unittest ``testutil`` now requires the ``confidence`` attribute
+ to match the expected value. If none is provided it is set to ``UNDEFINED``.
+
+* ``add_message`` of the unittest ``testutil`` now actually handles the ``col_offset`` parameter
+ and allows it to be checked against actual output in a test.
+
Removed checkers
================