code: def test_unsupported_framework_version():
      with pytest.raises(ValueError):
          PyTorch(
              py_version="py38",
              entry_point=SCRIPT_PATH,
              role=ROLE,
              instance_count=INSTANCE_COUNT,
              instance_type=INSTANCE_TYPE,
              framework_version="99.99.99",
              enable_sagemaker_metrics=False,
              compiler_config=TrainingCompilerConfig(),
          ).fit()
  
imports: from __future__ import absolute_import
  import logging
  import json
  import os
  import pytest
  from mock import MagicMock, Mock, patch, ANY
  from packaging.version import Version
  from sagemaker import image_uris
  from sagemaker.pytorch import PyTorch, TrainingCompilerConfig
  from sagemaker.pytorch.model import PyTorchModel
  from sagemaker.instance_group import InstanceGroup
  from sagemaker.session_settings import SessionSettings
  from tests.unit.sagemaker.training_compiler import EC2_GPU_INSTANCE_CLASSES
label_desc: Use image node_id 8 for calling a global function with example usage: test_unsupported_framework_version() without return types