summaryrefslogtreecommitdiff
path: root/tests/checkers
diff options
context:
space:
mode:
authorJacob Walls <jacobtylerwalls@gmail.com>2023-03-12 04:07:42 -0400
committerGitHub <noreply@github.com>2023-03-12 09:07:42 +0100
commitb968fa062f801626426ef399401c4530e13fcc49 (patch)
tree0c882c0f4c9eb40df297784f158274bfc12c7a5c /tests/checkers
parentb312b9a66472e17d02461258d2156d670481a7f6 (diff)
downloadpylint-git-b968fa062f801626426ef399401c4530e13fcc49.tar.gz
Deprecate redundant type checking guard utils (#8433)
Diffstat (limited to 'tests/checkers')
-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 97234ccb1..196b8b5b0 100644
--- a/tests/checkers/unittest_utils.py
+++ b/tests/checkers/unittest_utils.py
@@ -413,6 +413,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(
"""