code: def test_annotation(self, node, expected):
      expected_annotation = expected.get("annotation", None)
      if expected_annotation is None:
          assert node.annotation is None
      else:
          assert node.annotation.value == expected_annotation
  
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 7 for calling the TestsFunctionAndLambdaParsing obj's underlying member method code with example usage: obj.test_annotation(node, expected) without return types