code: def test_parens():
      """
      Parens should be escaped in the tree files and escaped when written
      """
      text = "(-LRB- -LRB-) (-RRB- -RRB-)"
      trees = tree_reader.read_trees(text)
      assert len(trees) == 2
  
      assert trees[0].label == "-LRB-"
      assert trees[0].children[0].label == "("
      assert "{}".format(trees[0]) == "(-LRB- -LRB-)"
  
      assert trees[1].label == "-RRB-"
      assert trees[1].children[0].label == ")"
      assert "{}".format(trees[1]) == "(-RRB- -RRB-)"
  
file_path: stanza/stanza/tests/constituency/test_tree_reader.py
imports: import pytest
  from stanza.models.constituency import tree_reader
  from stanza.models.constituency.tree_reader import MixedTreeError, UnclosedTreeError, UnlabeledTreeError
  from stanza.tests import *
label_desc: Use image node_id 3 for calling a global function with example usage: test_parens() without return types