diff options
author | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2020-11-14 16:13:37 +0100 |
---|---|---|
committer | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2020-11-28 16:09:53 +0100 |
commit | bc8a6a3aca9378ac842b3185858ced1b2421c823 (patch) | |
tree | e516e7c37d178861aa44ff646f4d39e64e6835a9 | |
parent | b762f2d106338a4c58d4998c0623084883103d0d (diff) | |
download | pylint-git-bc8a6a3aca9378ac842b3185858ced1b2421c823.tar.gz |
Remove redundant character escape '\]' in _EXPECTED_RE
-rw-r--r-- | pylint/testutils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pylint/testutils.py b/pylint/testutils.py index f06ceefbe..6f0f2168a 100644 --- a/pylint/testutils.py +++ b/pylint/testutils.py @@ -355,7 +355,7 @@ _MESSAGE = {"msg": r"[a-z][a-z\-]+"} _EXPECTED_RE = re.compile( r"\s*#\s*(?:(?P<line>[+-]?[0-9]+):)?" r"(?:(?P<op>[><=]+) *(?P<version>[0-9.]+):)?" - r"\s*\[(?P<msgs>%(msg)s(?:,\s*%(msg)s)*)\]" % _MESSAGE + r"\s*\[(?P<msgs>%(msg)s(?:,\s*%(msg)s)*)]" % _MESSAGE ) |