code: def test_launch_sweep_scheduler_try_executable_fails(
      user, monkeypatch
  ):
      _patch_wandb_run(monkeypatch)
      _project = "test-project"
      job_name = "nonexistent"
      sweep_id = wandb.sweep(
          VALID_SWEEP_CONFIGS_MINIMAL[0], entity=user, project=_project
      )
  
      _scheduler = SweepScheduler(
          internal.Api(),
          sweep_id=sweep_id,
          entity=user,
          project=_project,
          num_workers=4,
          polling_sleep=0,
          job=job_name,
      )
  
      _scheduler.start()
  
      assert _scheduler.state == SchedulerState.FAILED
  
imports: import asyncio
  from typing import Dict
  from unittest.mock import Mock, patch
  import pytest
  import wandb
  from wandb.apis import internal, public
  from wandb.errors import CommError
  from wandb.sdk.launch.sweeps import SchedulerError, load_scheduler
  from wandb.sdk.launch.sweeps.scheduler import RunState, Scheduler, SchedulerState, SweepRun
  from wandb.sdk.launch.sweeps.scheduler_sweep import SweepScheduler
  from wandb.sdk.launch.sweeps.utils import construct_scheduler_args
  from .test_wandb_sweep import VALID_SWEEP_CONFIGS_MINIMAL
label_desc: Use image node_id 15 for calling a global function with example usage: test_launch_sweep_scheduler_try_executable_fails(user, monkeypatch) without return types