diff options
Diffstat (limited to 'tests/lint/unittest_lint.py')
-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:", ): |