code: def test_issue768(text, expected_tokens):
      """Allow zero-width 'infix' token during the tokenization process."""
      SPLIT_INFIX = r"(?<=[{a}]\')(?=[{a}])".format(a=ALPHA)
  
      class FrenchTest(Language):
          class Defaults(BaseDefaults):
              infixes = TOKENIZER_INFIXES + [SPLIT_INFIX]
  
      fr_tokenizer_w_infix = FrenchTest().tokenizer
      tokens = fr_tokenizer_w_infix(text)
      assert len(tokens) == 2
      assert [t.text for t in tokens] == expected_tokens
  
imports: import pytest
  from spacy.lang.char_classes import ALPHA
  from spacy.lang.punctuation import TOKENIZER_INFIXES
  from spacy.language import BaseDefaults, Language
label_desc: Use image node_id 1 for calling a global function with example usage: test_issue768(text, expected_tokens) without return types