code: def test_varnames_keyword_only() -> None:
      def f1(x, *, y) -> None:
          pass
  
      def f2(x, *, y=3) -> None:
          pass
  
      def f3(x=1, *, y=3) -> None:
          pass
  
      assert varnames(f1) == (("x",), ())
      assert varnames(f2) == (("x",), ())
      assert varnames(f3) == ((), ("x",))
  
file_path: catboost/contrib/python/pluggy/py3/tests/test_helpers.py
imports: from functools import wraps
  from typing import Any
  from typing import Callable
  from typing import cast
  from typing import TypeVar
  from pluggy._hooks import varnames
  from pluggy._manager import _formatdef
label_desc: Use image node_id 4 for calling a global function with example usage: test_varnames_keyword_only() without return types