code: def test_run_executor_invalid_strategy_instances():
      with pytest.raises(
          ValueError,
          match="DDP Spawned strategies aren't supported yet.",
      ):
          _, _ = _get_args_after_tracer_injection(
              strategy=lf.strategies.DDPStrategy(start_method="spawn")
          )
  
file_path: pytorch-lightning/tests/tests_app/components/multi_node/test_fabric.py
imports: import os
  from copy import deepcopy
  from functools import partial
  from unittest import mock
  import lightning.fabric
  import pytest
  from lightning.app.components.multi_node.fabric import _FabricRunExecutor
  from lightning_utilities.core.imports import module_available
  from lightning_utilities.test.warning import no_warning_call
label_desc: Use image node_id 7 for calling a global function with example usage: test_run_executor_invalid_strategy_instances() without return types