code: def test_whitespace_does_not_throw_error():
      texts = rasa.shared.utils.io.read_json_file(
          "data/test_tokenizers/naughty_strings.json"
      )
  
      tk = create_whitespace_tokenizer()
  
      for text in texts:
          tk.tokenize(Message.build(text=text), attribute=TEXT)
  
file_path: rasa/tests/nlu/tokenizers/test_whitespace_tokenizer.py
imports: import pytest
  from typing import Dict, Optional
  import rasa.shared.utils.io
  from rasa.nlu.constants import TOKENS_NAMES
  from rasa.shared.nlu.constants import TEXT, INTENT, ACTION_TEXT, ACTION_NAME
  from rasa.shared.nlu.training_data.training_data import TrainingData
  from rasa.shared.nlu.training_data.message import Message
  from rasa.nlu.tokenizers.whitespace_tokenizer import WhitespaceTokenizer
label_desc: Use image node_id 5 for calling a global function with example usage: test_whitespace_does_not_throw_error() without return types