class_docstr: Define items common to both sets of tests.
class_docstr_tok: ["Define","items","common","to","both","sets","of","tests","."]
code: def test_get(self):
      get = self.text.get
      Equal = self.assertEqual
      self.text.insert("1.0", self.hw)
  
      Equal(get("end"), "")
      Equal(get("end", "end"), "")
      Equal(get("1.0"), "h")
      Equal(get("1.0", "1.1"), "h")
      Equal(get("1.0", "1.3"), "hel")
      Equal(get("1.1", "1.3"), "el")
      Equal(get("1.0", "1.0 lineend"), "hello")
      Equal(get("1.0", "1.10"), "hello")
      Equal(get("1.0 lineend"), "\n")
      Equal(get("1.1", "2.3"), "ello\nwor")
      Equal(get("1.0", "2.5"), self.hw)
      Equal(get("1.0", "end"), self.hwn)
      Equal(get("0.0", "5.0"), self.hwn)
  
imports: import unittest
  from test.support import requires
  from _tkinter import TclError
label_desc: Use image node_id 4 for calling the TextTest obj's underlying member method code with example usage: obj.test_get() without return types