code: def test_no_delete(self):
      # if index1 == 'insert' or 'end' or >= end, there is no deletion
      delete = self.text.delete
      get = self.text.get
      Equal = self.assertEqual
      self.text.insert("1.0", self.hw)
  
      delete("insert")
      Equal(get("1.0", "end"), self.hwn)
  
      delete("end")
      Equal(get("1.0", "end"), self.hwn)
  
      delete("insert", "end")
      Equal(get("1.0", "end"), self.hwn)
  
      delete("insert", "5.5")
      Equal(get("1.0", "end"), self.hwn)
  
      delete("1.4", "1.0")
      Equal(get("1.0", "end"), self.hwn)
  
      delete("1.4", "1.4")
      Equal(get("1.0", "end"), self.hwn)
  
imports: import unittest
  from test.test_support import requires
  from _tkinter import TclError
label_desc: Use image node_id 7 for calling the TextTest obj's underlying member method code with example usage: obj.test_no_delete() without return types