code: def test_expected_pydantic_version():
      """
      Sanity check that tests are running using the expected Pydantic version.
      """
      expected_pydantic_version = os.environ[
          "EXPECTED_PYDANTIC_VERSION"
      ]
      actual_pydantic_version = pydantic.__version__
      assert expected_pydantic_version == actual_pydantic_version, (
          f"expected_pydantic_version={expected_pydantic_version}, "
          f"actual_pydantic_version={actual_pydantic_version}"
      )
  
imports: import os
  import sys
  import pydantic
  import pytest
label_desc: Use image node_id 2 for calling a global function with example usage: test_expected_pydantic_version() without return types