code: def test_varnames_class():
      class C(object):
          def __init__(self, x):
              pass
  
      class D(object):
          pass
  
      class E(object):
          def __init__(self, x):
              pass
  
      class F(object):
          pass
  
      assert varnames(C) == (("x",), ())
      assert varnames(D) == ((), ())
      assert varnames(E) == (("x",), ())
      assert varnames(F) == ((), ())
  
file_path: catboost/contrib/python/pluggy/py2/tests/test_helpers.py
imports: from pluggy.hooks import varnames
  from pluggy.manager import _formatdef
  import sys
  import pytest
label_desc: Use image node_id 3 for calling a global function with example usage: test_varnames_class() without return types