aboutsummaryrefslogtreecommitdiffstats
path: root/tests/query/highlights/python/functions.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/query/highlights/python/functions.py')
-rw-r--r--tests/query/highlights/python/functions.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/query/highlights/python/functions.py b/tests/query/highlights/python/functions.py
index 6d3028433..7284d3fcc 100644
--- a/tests/query/highlights/python/functions.py
+++ b/tests/query/highlights/python/functions.py
@@ -8,6 +8,11 @@ _ = func()
class Foo:
def method(self) -> None: ...
+# ^^^^ @variable.builtin
+
+ @classmethod
+ def clsmethod(cls) -> None: ...
+# ^^^ @variable.builtin
Foo().method()
# ^^^^^^ @function.method.call