code: def test_decorator():
      src = dedent(
          """\
      class Decorator():
          @memoize
          def dec(self, a):
              return a
      """
      )
      check_p(src, 2)
  
file_path: catboost/contrib/python/parso/py3/tests/test_old_fast_parser.py
imports: from textwrap import dedent
  from parso import parse
label_desc: Use image node_id 6 for calling a global function with example usage: test_decorator() without return types