code: def test_remote_with_unpickable(setup_cluster):
      def f(*_):
          class Unpickleable:
              def __reduce__(self):
                  raise ValueError
  
          raise KeyError(Unpickleable())
  
      with pytest.raises(mo.SendMessageFailed):
          d = spawn(f, retry_when_fail=False)
          d.execute()
  
imports: from collections import defaultdict
  import numpy
  import pandas
  import pytest
  from ...None import dataframe
  from ...None import get_context
  from ...None import oscar
  from ...None import tensor
  from ...core import tile
  from ...session import get_default_session
  from ...learn.utils import shuffle
  from ...lib.mmh3 import hash
  from ..None import spawn, ExecutableTuple
label_desc: Use image node_id 9 for calling a global function with example usage: test_remote_with_unpickable(setup_cluster) without return types