code: def test_multiple_return_values(ray_start_regular_shared):
      @ray.remote
      class Foo:
          def method0(self):
              return 1
  
          @ray.method(num_returns=1)
          def method1(self):
              return 1
  
          @ray.method(num_returns=2)
          def method2(self):
              return 1, 2
  
          @ray.method(num_returns=3)
          def method3(self):
              return 1, 2, 3
  
      f = Foo.remote()
  
      id0 = f.method0.remote()
      assert ray.get(id0) == 1
  
      id1 = f.method1.remote()
      assert ray.get(id1) == 1
  
      id2a, id2b = f.method2.remote()
      assert ray.get([id2a, id2b]) == [1, 2]
  
      id3a, id3b, id3c = f.method3.remote()
      assert ray.get([id3a, id3b, id3c]) == [1, 2, 3]
  
imports: import datetime
  import os
  import random
  import sys
  import tempfile
  import numpy
  import pytest
  import ray
  from ray import cloudpickle
  from ray._private import ray_constants
  from ray._private.test_utils import client_test_enabled, wait_for_condition, wait_for_pid_to_exit
  from ray.actor import ActorClassInheritanceException
  from ray.tests.client_test_utils import create_remote_signal_actor
  from ray._private.test_utils import SignalActor
  import setproctitle
label_desc: Use image node_id 25 for calling a global function with example usage: test_multiple_return_values(ray_start_regular_shared) and returns: int, int, int,  int, int,  int,  int