code: def test_tokenize_ssplit_robustness():
      nlp = stanza.Pipeline(
          processors="tokenize", dir=TEST_MODELS_DIR, lang="en"
      )
      doc = nlp(EN_DOC_WITH_EXTRA_WHITESPACE)
      assert EN_DOC_GOLD_TOKENS == "\n\n".join(
          [sent.tokens_string() for sent in doc.sentences]
      )
      assert all(
          [
              doc.text[token._start_char : token._end_char]
              == token.text
              for sent in doc.sentences
              for token in sent.tokens
          ]
      )
  
imports: import pytest
  import stanza
  from stanza.tests import *
label_desc: Use image node_id 2 for calling a global function with example usage: test_tokenize_ssplit_robustness() without return types