code: def test_init(self):
      with tempfile.TemporaryDirectory() as tmp_dir:
          dict_file = osp.join(tmp_dir, "fake_chars.txt")
          create_dummy_dict_file(dict_file)
          dict_cfg = dict(
              type="Dictionary", dict_file=dict_file, with_end=False
          )
          # No padding token
          with self.assertRaises(AssertionError):
              ABILanguageDecoder(dict_cfg)
  
file_path: mmocr/tests/test_models/test_textrecog/test_decoders/test_abi_language_decoder.py
imports: import os.path
  import tempfile
  from unittest import TestCase
  import torch
  from mmocr.models.textrecog.decoders import ABILanguageDecoder
  from mmocr.testing import create_dummy_dict_file
label_desc: Use image node_id 1 for calling the TestABILanguageDecoder obj's underlying member method code with example usage: obj.test_init() without return types