code: def test_new_session_backend(
      ray_start_regular_shared2, _new_session, backend
  ):
      test_local.test_new_session_backend(_new_session, backend)
  
file_path: mars/mars/deploy/oscar/tests/test_ray_dag.py
imports: import copy
  import os
  import time
  import pytest
  from ....None import get_context
  from ....None import tensor
  from ....session import new_session, get_default_async_session
  from ....tests import test_session
  from ....tests.core import DICT_NOT_EMPTY, require_ray
  from ....utils import lazy_import
  from ..local import new_cluster
  from ..tests import test_local
  from ..tests.session import new_test_session
  from ..tests.test_local import _cancel_when_tile, _cancel_when_execute
  from .modules.utils import cleanup_third_party_modules_output, get_output_filenames
label_desc: Use image node_id 1 for calling a global function with example usage: test_new_session_backend(ray_start_regular_shared2, _new_session, backend) without return types