summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2023-03-12 13:40:16 +0100
committerGitHub <noreply@github.com>2023-03-12 13:40:16 +0100
commitd6f3ae8d72e65e89560403ca2241ec604b418bdf (patch)
tree205c4ed9ac8142319c6f98b414f1101ab9acfffc /tests
parent16dd28d1692e097a819d9d4bdf6f80c9744b460a (diff)
downloadpylint-git-d6f3ae8d72e65e89560403ca2241ec604b418bdf.tar.gz
Deprecate redundant type checking guard utils (#8433) (#8439)
(cherry picked from commit b968fa062f801626426ef399401c4530e13fcc49) Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/checkers/unittest_utils.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/checkers/unittest_utils.py b/tests/checkers/unittest_utils.py
index a0dfe299b..ac328d7cd 100644
--- a/tests/checkers/unittest_utils.py
+++ b/tests/checkers/unittest_utils.py
@@ -414,6 +414,7 @@ def test_if_sys_guard() -> None:
assert utils.is_sys_guard(code[2]) is False
+@pytest.mark.filterwarnings("ignore::DeprecationWarning")
def test_if_typing_guard() -> None:
code = astroid.extract_node(
"""