code: def test_tokens2ids(
      whisper_token_id_converter: OpenAIWhisperTokenIDConverter,
  ):
      ids = whisper_token_id_converter.tokens2ids(
          [
              "Hi",
              ",",
              "Ġ",
              "t",
              "od",
              "ay",
              "'s",
              "Ġweather",
              "Ġis",
              "Ġnice",
              ".",
              "ĠHmm",
              "...",
          ]
      )
  
      assert ids == [
          50259,
          50359,
          50303,
          17155,
          11,
          220,
          83,
          378,
          320,
          311,
          5503,
          307,
          1481,
          13,
          8239,
          485,
      ]
  
file_path: espnet/test/espnet2/text/test_whisper_token_id_converter.py
imports: import sys
  import pytest
  from espnet2.text.whisper_token_id_converter import OpenAIWhisperTokenIDConverter
label_desc: Use image node_id 9 for calling a global function with example usage: test_tokens2ids(whisper_token_id_converter) without return types