code: def test_unsupported_option() -> None:
      # Creates an experiment with a yaml file
      # It attempts to supply a slurm option that is controlled by Determined
      # run_failure_test expects the experiment to fail and will assert the log with the string
      # Queries the logs for the error call
      # Waits for experiment to reach a ERROR_STATE. Errors if it does not error
  
      exp.run_failure_test(
          conf.fixtures_path("failures/unsupported-slurm-option.yaml"),
          conf.fixtures_path("failures/"),
          "resources failed with non-zero exit code: unable to launch job: "
          + "slurm option -G is not configurable",
      )
  
imports: import logging
  import sys
  from typing import List
  import pytest
  import torch
  from determined.common.api import bindings
  from tests import api_utils, command
  from tests import config
  from tests import experiment
label_desc: Use image node_id 2 for calling a global function with example usage: test_unsupported_option() without return types