code: def test_expected_python_version():
      """
      Sanity check that tests are running using the expected Python version.
      """
      expected_python_version = os.environ["EXPECTED_PYTHON_VERSION"]
      actual_major, actual_minor = sys.version_info[:2]
      actual_version = f"{actual_major}.{actual_minor}"
      assert expected_python_version == actual_version, (
          f"expected_python_version={expected_python_version}, "
          f"actual_version={actual_version}"
      )
  
imports: import os
  import sys
  import pydantic
  import pytest
label_desc: Use image node_id 1 for calling a global function with example usage: test_expected_python_version() without return types