code: def test_search_ancestor(node, node_types, expected_ancestor):
      assert node.search_ancestor(*node_types) is expected_ancestor
      assert search_ancestor(node, *node_types) is expected_ancestor
  
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 16 for calling a global function with example usage: test_search_ancestor(node, node_types, expected_ancestor) without return types