diff options
author | Marc Mueller <30130371+cdce8p@users.noreply.github.com> | 2022-05-05 18:47:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-05 18:47:47 +0200 |
commit | 66fcbeb9fc088f4c88a007cb87e590b6765b2391 (patch) | |
tree | 472a7881101f5d0a8e4c9385b983bf3d3dd678f4 /tests/test_pragma_parser.py | |
parent | 04d54f3d179d378076e9dd465cbd8a35a32d659b (diff) | |
download | pylint-git-66fcbeb9fc088f4c88a007cb87e590b6765b2391.tar.gz |
Move no-self-use to optional extension (#6448)
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
Diffstat (limited to 'tests/test_pragma_parser.py')
-rw-r--r-- | tests/test_pragma_parser.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_pragma_parser.py b/tests/test_pragma_parser.py index d8dd508b0..7db860669 100644 --- a/tests/test_pragma_parser.py +++ b/tests/test_pragma_parser.py @@ -49,14 +49,14 @@ def test_simple_pragma_multiple_messages() -> None: def test_multiple_pragma_multiple_messages() -> None: - comment = "#pylint: disable = missing-docstring, invalid-name, enable = R0202, no-self-use" + comment = "#pylint: disable = missing-docstring, invalid-name, enable = R0202, no-staticmethod-decorator" match = OPTION_PO.search(comment) assert match res = list(parse_pragma(match.group(2))) assert res[0].action == "disable" assert res[0].messages == ["missing-docstring", "invalid-name"] assert res[1].action == "enable" - assert res[1].messages == ["R0202", "no-self-use"] + assert res[1].messages == ["R0202", "no-staticmethod-decorator"] def test_missing_assignment() -> None: |