diff options
author | Ollie <46904826+ollie-iterators@users.noreply.github.com> | 2023-02-25 16:12:29 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-25 22:12:29 +0100 |
commit | 02030cf52dbbed3a8bb7c14c4d6158427635cee5 (patch) | |
tree | 5c1006b9695be3a05870070c30f55784172e068a /tests/checkers | |
parent | c785e3edb82683e50d5d370c1c4e992ebda036a0 (diff) | |
download | pylint-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.py | 10 |
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( |