code: def test_tokenize_delimiter():
      strings = cudf.Series(
          [
              "the quick fox jumped over the lazy dog",
              "the siamésé cat jumped under the sofa",
              None,
              "",
          ]
      )
  
      expected_values = [
          "the quick f",
          "x jumped ",
          "ver the lazy d",
          "g",
          "the siamésé cat jumped under the s",
          "fa",
      ]
      expected_index = strings.index.repeat(
          strings.str.token_count("o")
      )
      expected = cudf.Series(expected_values, index=expected_index)
  
      actual = strings.str.tokenize(delimiter="o")
  
      assert type(expected) == type(actual)
      assert_eq(expected, actual)
  
imports: import random
  import string
  import numpy
  import pytest
  import cudf
  from cudf.core.byte_pair_encoding import BytePairEncoder
  from cudf.core.tokenize_vocabulary import TokenizeVocabulary
  from cudf.testing._utils import assert_eq
label_desc: Use image node_id 2 for calling a global function with example usage: test_tokenize_delimiter() without return types