code: def test_deleter(self):
      recog_data_sample = TextRecogDataSample()
      # test gt_text
      gt_label_data = dict(item="mmocr")
      gt_text = LabelData(**gt_label_data)
      recog_data_sample.gt_text = gt_text
      assert "gt_text" in recog_data_sample
      del recog_data_sample.gt_text
      assert "gt_text" not in recog_data_sample
  
      recog_data_sample.pred_text = gt_text
      assert "pred_text" in recog_data_sample
      del recog_data_sample.pred_text
      assert "pred_text" not in recog_data_sample
  
file_path: mmocr/tests/test_structures/test_textrecog_data_sample.py
imports: from unittest import TestCase
  import numpy
  import torch
  from mmengine.structures import LabelData
  from mmocr.structures import TextRecogDataSample
label_desc: Use image node_id 3 for calling the TestTextRecogDataSample obj's underlying member method code with example usage: obj.test_deleter() without return types