code: def test_pretty_print():
      """
      Pretty print a couple trees - newlines & indentation
      """
      text = "(ROOT (S (VP (VB Unban)) (NP (NNP Mox) (NNP Opal)))) (ROOT (S (NP (DT The) (NNP Arizona) (NNPS Corporations) (NNP Commission)) (VP (VBD authorized) (NP (NP (DT an) (ADJP (CD 11.5)) (NN %) (NN rate) (NN increase)) (PP (IN at) (NP (NNP Tucson) (NNP Electric)))))))"
      trees = tree_reader.read_trees(text)
      assert len(trees) == 2
  
      expected = """(ROOT
    (S
      (VP (VB Unban))
      (NP (NNP Mox) (NNP Opal))))
  """
  
      assert "{:P}".format(trees[0]) == expected
  
      expected = """(ROOT
    (S
      (NP (DT The) (NNP Arizona) (NNPS Corporations) (NNP Commission))
      (VP
        (VBD authorized)
        (NP
          (NP
            (DT an)
            (ADJP (CD 11.5))
            (NN %)
            (NN rate)
            (NN increase))
          (PP
            (IN at)
            (NP (NNP Tucson) (NNP Electric)))))))
  """
      assert "{:P}".format(trees[1]) == expected
  
      assert text == "{:O} {:O}".format(*trees)
  
imports: import pytest
  from stanza.models.constituency.parse_tree import Tree
  from stanza.models.constituency import tree_reader
  from stanza.tests import *
label_desc: Use image node_id 20 for calling a global function with example usage: test_pretty_print() without return types