summaryrefslogtreecommitdiff
path: root/tests/testutils
diff options
context:
space:
mode:
authorJacob Walls <jacobtylerwalls@gmail.com>2022-04-30 10:19:05 -0400
committerGitHub <noreply@github.com>2022-04-30 10:19:05 -0400
commit5f7fac56b44eb66bba060ec52632bb4ddad21e56 (patch)
tree1e4987333037e09b0fe52f8d786ed3c7fc312754 /tests/testutils
parent8215901ccc46b6bb5307e4951d76779e26a05d60 (diff)
downloadpylint-git-5f7fac56b44eb66bba060ec52632bb4ddad21e56.tar.gz
Check documentation examples for fatal errors (#6475)
Diffstat (limited to 'tests/testutils')
-rw-r--r--tests/testutils/test_functional_testutils.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/testutils/test_functional_testutils.py b/tests/testutils/test_functional_testutils.py
index 7365022da..fb664959c 100644
--- a/tests/testutils/test_functional_testutils.py
+++ b/tests/testutils/test_functional_testutils.py
@@ -62,6 +62,7 @@ def test_minimal_messages_config_enabled(pytest_config) -> None:
# Always enable fatal errors: important not to have false negatives
"astroid-error",
"fatal",
+ "syntax-error",
)
)
assert not mod_test._linter.is_message_enabled("unused-import")