code: def test_default_param(each_version):
      func = parse(
          "def x(foo=42): pass", version=each_version
      ).children[0]
      (param,) = func.get_params()
      assert param.default.value == "42"
      assert param.annotation is None
      assert not param.star_count
  
imports: from textwrap import dedent
  import pytest
  from parso import parse
  from parso.python import tree
  from parso.tree import search_ancestor
label_desc: Use image node_id 2 for calling a global function with example usage: test_default_param(each_version) without return types