diff --git a/tests/query/highlights/python/functions.py b/tests/query/highlights/python/functions.py index 81d369f82..e80f03f88 100644 --- a/tests/query/highlights/python/functions.py +++ b/tests/query/highlights/python/functions.py @@ -8,3 +8,10 @@ class Foo: Foo().method() # ^^^^^^ @function.method.call + +@pytest.mark.filterwarnings("ignore::DeprecationWarning") +#^^^^^^ @variable +# ^^^^ @variable.member +# ^^^^^^^^^^^^^^ @function.method.call +def test_func(): + pass