class_docstr: Foo test
  
  Second line
code: def __dir__(self):
      return ["__init__", "broken", "method"]
  
imports: import io
  import sys
  from types import ModuleType
  from typing import Sequence, Type
  import pytest
  from rich import inspect
  from rich._inspect import get_object_types_mro, get_object_types_mro_as_strings, is_object_one_of_types
  from rich.console import Console
label_desc: Use image node_id 4 for calling the Foo obj's underlying member method code with example usage: obj.__dir__() and returns: list