code: def test_iter_funcdefs():
      code = dedent(
          """
          def normal(): ...
          async def asyn(): ...
          @dec
          def dec_normal(): ...
          @dec1
          @dec2
          async def dec_async(): ...
          def broken
          """
      )
      module = parse(code, version="3.8")
      func_names = [f.name.value for f in module.iter_funcdefs()]
      assert func_names == ["normal", "asyn", "dec_normal", "dec_async"]
  
imports: from textwrap import dedent
  import pytest
  from parso import parse
  from parso.python import tree
label_desc: Use image node_id 15 for calling a global function with example usage: test_iter_funcdefs() without return types