summaryrefslogtreecommitdiff
path: root/tests/checkers
diff options
context:
space:
mode:
authorOllie <46904826+ollie-iterators@users.noreply.github.com>2023-02-25 16:12:29 -0500
committerGitHub <noreply@github.com>2023-02-25 22:12:29 +0100
commit02030cf52dbbed3a8bb7c14c4d6158427635cee5 (patch)
tree5c1006b9695be3a05870070c30f55784172e068a /tests/checkers
parentc785e3edb82683e50d5d370c1c4e992ebda036a0 (diff)
downloadpylint-git-02030cf52dbbed3a8bb7c14c4d6158427635cee5.tar.gz
Fixing some too long lines (#8339)
* Changing flake8 max-line-length to 120 Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
Diffstat (limited to 'tests/checkers')
-rw-r--r--tests/checkers/unittest_utils.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/tests/checkers/unittest_utils.py b/tests/checkers/unittest_utils.py
index 2f0bf0e08..b2cbcb590 100644
--- a/tests/checkers/unittest_utils.py
+++ b/tests/checkers/unittest_utils.py
@@ -484,12 +484,14 @@ def test_deprecation_check_messages() -> None:
def visit_assname(self, node: nodes.NodeNG) -> None:
pass
- assert len(records) == 1
- assert (
- records[0].message.args[0]
- == "utils.check_messages will be removed in favour of calling utils.only_required_for_messages in pylint 3.0"
+ deprecationMessage = (
+ "utils.check_messages will be removed in "
+ "favour of calling utils.only_required_for_messages in pylint 3.0"
)
+ assert len(records) == 1
+ assert records[0].message.args[0] == deprecationMessage
+
def test_is_typing_member() -> None:
code = astroid.extract_node(