code: def test_local_run_script_with_data(setup_cluster):
      s = BytesIO(script3)
      data = {
          "tensor": mt.arange(10),
          "df": md.DataFrame({"s": mt.arange(9, 0, -1)}),
      }
      assert (
          run_script(s, data=data, n_workers=1).fetch()["status"]
          == "ok"
      )
  
      pytest.raises(TypeError, run_script, s, data=[])
  
file_path: mars/mars/remote/tests/test_run_script.py
imports: import os
  from io import BytesIO
  import pytest
  from ...None import tensor
  from ...None import dataframe
  from ..None import run_script
label_desc: Use image node_id 3 for calling a global function with example usage: test_local_run_script_with_data(setup_cluster) without return types