code: def test_delete_field_at_index(self):
      self.assertRaises(
          ValueError, sample.delete_field_at_index, "x", 100
      )
      self.assertRaises(
          ValueError, sample.delete_field_at_index, "x", -1
      )
      self.assertRaises(
          TypeError, sample.delete_field_at_index, "x", 1.5
      )
  
      new_sample = sample.delete_field_at_index("x", 1)
      self.assertEqual("今天气很好。", new_sample.get_text("x"))
      self.assertEqual([0, 0, 0, 0, 0, 0], new_sample.get_mask("x"))
  
imports: import unittest
  from textflint.input.component.sample.utcn_sample import *
label_desc: Use image node_id 12 for calling the TestUTCnSample obj's underlying member method code with example usage: obj.test_delete_field_at_index() without return types