code: def test_insert(self):
      insert = self.text.insert
      get = self.text.get
      Equal = self.assertEqual
  
      insert("1.0", self.hw)
      Equal(get("1.0", "end"), self.hwn)
  
      insert("1.0", "")  # nothing
      Equal(get("1.0", "end"), self.hwn)
  
      insert("1.0", "*")
      Equal(get("1.0", "end"), "*hello\nworld\n")
  
      insert("1.0 lineend", "*")
      Equal(get("1.0", "end"), "*hello*\nworld\n")
  
      insert("2.3", "*")
      Equal(get("1.0", "end"), "*hello*\nwor*ld\n")
  
      insert("end", "x")
      Equal(get("1.0", "end"), "*hello*\nwor*ldx\n")
  
      insert("1.4", "x\n")
      Equal(get("1.0", "end"), "*helx\nlo*\nwor*ldx\n")
  
imports: import unittest
  from test.test_support import requires
  from _tkinter import TclError
label_desc: Use image node_id 6 for calling the TextTest obj's underlying member method code with example usage: obj.test_insert() without return types