code: def test_markdown_entity_regex_error_handling_wrong_schema():
      with pytest.raises(SchemaValidationError):
          entities_parser.find_entities_in_training_example(
              # Schema error: "entiti" instead of "entity"
              'I want to fly from [Berlin]{"entiti": "city", "role": "from"}'
          )
  
file_path: rasa/tests/shared/nlu/training_data/test_entities_parser.py
imports: from typing import Text, List, Dict, Any
  import pytest
  import rasa.shared.nlu.training_data.entities_parser
  from rasa.shared.exceptions import InvalidEntityFormatException, SchemaValidationError
  from rasa.shared.nlu.constants import TEXT
label_desc: Use image node_id 6 for calling a global function with example usage: test_markdown_entity_regex_error_handling_wrong_schema() without return types