code: def test_read_mixed_training_data_file():
      training_data_file = (
          "data/test_mixed_yaml_training_data/training_data.yml"
      )
  
      reader = RasaYAMLReader()
  
      with warnings.catch_warnings() as record:
          reader.read(training_data_file)
  
      if record is not None:
          record = filter_expected_warnings(record)
          assert len(record) == 0
  
imports: import textwrap
  import warnings
  from typing import Text
  import pytest
  import pathlib
  from rasa.shared.exceptions import YamlException, YamlSyntaxException
  import rasa.shared.utils.io
  from rasa.shared.constants import LATEST_TRAINING_DATA_FORMAT_VERSION
  from rasa.shared.nlu.constants import INTENT, METADATA, METADATA_INTENT, METADATA_EXAMPLE
  from rasa.shared.nlu.training_data.formats.rasa_yaml import RasaYAMLReader, RasaYAMLWriter
  from tests.conftest import filter_expected_warnings
label_desc: Use image node_id 22 for calling a global function with example usage: test_read_mixed_training_data_file() without return types