From c5c708dae1d4cd66037381792b9c92bbfe82c639 Mon Sep 17 00:00:00 2001 From: disrupted Date: Tue, 11 Mar 2025 19:50:59 +0100 Subject: [PATCH] test: add preproc assertion --- tests/query/highlights/python/functions.py | 7 +++++++ 1 file changed, 7 insertions(+) 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