code: def assert_predictions_equal(self, preds1, preds2):
      for pred1, pred2 in zip(preds1, preds2):
          self.assert_prediction_equal(pred1, pred2)
  
file_path: mmocr/tests/test_apis/test_inferencers/test_textrec_inferencer.py
imports: import os.path
  import random
  import tempfile
  from unittest import TestCase, mock
  import mmcv
  import mmengine
  import numpy
  import torch
  from mmocr.apis.inferencers import TextRecInferencer
  from mmocr.utils.check_argument import is_type_list
  from mmocr.utils.typing_utils import TextRecogDataSample
label_desc: Use image node_id 3 for calling the TestTextRecinferencer obj's underlying member method code with example usage: obj.assert_predictions_equal(preds1, preds2) without return types