code: def test_workflow_error_message(shutdown_only):
      storage_url = r"c:\ray"
      expected_error_msg = f"Cannot parse URI: '{storage_url}'"
      if os.name == "nt":
          expected_error_msg += " Try using file://{} or file:///{} for Windows file paths.".format(
              storage_url, storage_url
          )
      ray.shutdown()
      with pytest.raises(ValueError) as e:
          ray.init(storage=storage_url)
      assert str(e.value) == expected_error_msg
  
file_path: ray/python/ray/workflow/tests/test_basic_workflows_4.py
imports: import os
  import pytest
  from ray._private.test_utils import run_string_as_driver
  import ray
  from ray import workflow
  from ray.tests.conftest import *
label_desc: Use image node_id 1 for calling a global function with example usage: test_workflow_error_message(shutdown_only) without return types