class_docstr: Class containing unit tests for nltk.tgrep.
class_docstr_tok: ["Class","containing","unit","tests","for","nltk.tgrep","."]
docstr: Test that the tgrep print operator ' is properly ignored.
docstr_tok: ["Test","that","the","tgrep","print","operator","'","is","properly","ignored","."]
code: def test_node_printing(self):
      """Test that the tgrep print operator ' is properly ignored."""
      tree = ParentedTree.fromstring("(S (n x) (N x))")
      self.assertEqual(
          list(tgrep.tgrep_positions("N", [tree])),
          list(tgrep.tgrep_positions("'N", [tree])),
      )
      self.assertEqual(
          list(tgrep.tgrep_positions("/[Nn]/", [tree])),
          list(tgrep.tgrep_positions("'/[Nn]/", [tree])),
      )
  
imports: import unittest
  from nltk import tgrep
  from nltk.tree import ParentedTree
label_desc: Use image node_id 9 for calling the TestSequenceFunctions obj's underlying member method code with example usage: obj.test_node_printing() without return types