diff options
author | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2021-08-31 22:15:29 +0200 |
---|---|---|
committer | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2021-09-01 08:27:04 +0200 |
commit | 5f96098d658fd9c1b59c5f1675033485e1b3bad0 (patch) | |
tree | cfb6d8f4d46f7aa05c73b6cc10cabde3c7eae5de /tests/lint | |
parent | ca9eddc137936d1ffe83ec78d051f1b23f7c27b1 (diff) | |
download | pylint-git-5f96098d658fd9c1b59c5f1675033485e1b3bad0.tar.gz |
Remove the python3 porting mode from the codebase
It's possible to use the python3 porting checker from
an older pylint version. But it's not evolving anymore
and was costing resource to maintain.
Diffstat (limited to 'tests/lint')
-rw-r--r-- | tests/lint/unittest_lint.py | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/tests/lint/unittest_lint.py b/tests/lint/unittest_lint.py index fee47c9cf..110a2061c 100644 --- a/tests/lint/unittest_lint.py +++ b/tests/lint/unittest_lint.py @@ -575,15 +575,6 @@ def test_analyze_explicit_script(linter): assert ["C: 2: Line too long (175/100)"] == linter.reporter.messages -def test_python3_checker_disabled(linter): - checker_names = [c.name for c in linter.prepare_checkers()] - assert "python3" not in checker_names - - linter.set_option("enable", "python3") - checker_names = [c.name for c in linter.prepare_checkers()] - assert "python3" in checker_names - - def test_full_documentation(linter): out = StringIO() linter.print_full_documentation(out) @@ -592,9 +583,9 @@ def test_full_documentation(linter): for re_str in ( # autogenerated text "^Pylint global options and switches$", - "Verbatim name of the checker is ``python3``", + "Verbatim name of the checker is ``variables``", # messages - "^:old-octal-literal \\(E1608\\):", + "^:undefined-loop-variable \\(W0631\\): *", # options "^:dummy-variables-rgx:", ): |