code: def fake_script(tmp_path):
      script = tmp_path / "script.py"
      script.touch()
      return str(script)
  
imports: import contextlib
  import os
  import subprocess
  from io import StringIO
  from unittest import mock
  from unittest.mock import Mock
  import pytest
  import torch.distributed.run
  from lightning.fabric.cli import _get_supported_strategies, _run_model
  from lightning_utilities.core.imports import ModuleAvailableCache
  from tests_fabric.helpers.runif import RunIf
label_desc: Use image node_id 1 for calling a global function with example usage: fake_script(tmp_path) and returns: str