code: def test_demo_inexecutable_script(storage, monkeypatch, capsys):
      """Test error message when user script is not executable."""
      monkeypatch.chdir(os.path.dirname(os.path.abspath(__file__)))
      script = tempfile.NamedTemporaryFile()
      orion.core.cli.main(
          [
              "hunt",
              "--config",
              "./orion_config.yaml",
              script.name,
              "--config",
              "script_config.yaml",
          ]
      )
  
      captured = capsys.readouterr().err
      assert "User script is not executable" in captured
  
imports: import os
  import shutil
  import subprocess
  import sys
  import tempfile
  from collections import defaultdict
  from contextlib import contextmanager
  import numpy
  import pytest
  import yaml
  import orion.core.cli
  import orion.core.io.experiment_builder
  from orion.core.cli.hunt import workon
  from orion.testing import OrionState
label_desc: Use image node_id 6 for calling a global function with example usage: test_demo_inexecutable_script(storage, monkeypatch, capsys) without return types