diff options
author | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2021-11-28 19:50:59 +0100 |
---|---|---|
committer | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2021-12-03 18:38:20 +0100 |
commit | 5bb0095aa122fd75108dc8049193b55b987ef224 (patch) | |
tree | c46e8ad64c446004bc72316c78aa25a305019fbe /tests/testutils | |
parent | bb3c4467374a31b713099a14f800fa3d5b6a4650 (diff) | |
download | pylint-git-5bb0095aa122fd75108dc8049193b55b987ef224.tar.gz |
Add typing to LintModuleOutputUpdate._check_output_text
Better typing for test options and fix existing issue
Diffstat (limited to 'tests/testutils')
-rw-r--r-- | tests/testutils/test_lint_module_output_update.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testutils/test_lint_module_output_update.py b/tests/testutils/test_lint_module_output_update.py index 9f581ce76..ad414a9dd 100644 --- a/tests/testutils/test_lint_module_output_update.py +++ b/tests/testutils/test_lint_module_output_update.py @@ -29,7 +29,7 @@ def lint_module_fixture( @pytest.mark.skipif(PY38_PLUS, reason="Requires python 3.7 or lower") def test_not_py38(tmp_path: Path) -> None: - with pytest.raises(RuntimeError, match="new, better AST in python 3.8"): + with pytest.raises(RuntimeError, match="new AST parser"): LintModuleOutputUpdate( test_file=FunctionalTestFile(str(tmp_path), str(tmp_path / "filename.py")) ) |