code: def test_min_informative_str():
      # evaluates a reference output to make sure the
      # min_informative_str function works as intended
  
      A = matrix(name="A")
      B = matrix(name="B")
      C = A + B
      C.name = "C"
      D = matrix(name="D")
      E = matrix(name="E")
  
      F = D + E
      G = C + F
  
      mis = min_informative_str(G).replace("\t", "        ")
  
      reference = """A. Add
   B. C
   C. Add
    D. D
    E. E"""
  
      if mis != reference:
          print("--" + mis + "--")
          print("--" + reference + "--")
  
      assert mis == reference
  
imports: import logging
  from io import StringIO
  from textwrap import dedent
  import numpy
  import pytest
  import pytensor
  from pytensor.compile.mode import get_mode
  from pytensor.compile.ops import deep_copy_op
  from pytensor.printing import PatternPrinter, PPrinter, Print, debugprint, default_printer, get_node_by_id, min_informative_str, pp, pydot_imported, pydotprint
  from pytensor.tensor import as_tensor_variable
  from pytensor.tensor.type import dmatrix, dvector, matrix
  from tests.graph.utils import MyInnerGraphOp, MyOp, MyVariable
label_desc: Use image node_id 5 for calling a global function with example usage: test_min_informative_str() without return types