code: def test_can_partial():
      def foo(x, y, z):
          return x * y * z
  
      partial_foo = partial(foo, 2, y=5)
      canned = can(partial_foo)
      assert isinstance(canned, canning.CannedPartial)
      dumped = pickle.dumps(canned)
      loaded = pickle.loads(dumped)
      pfoo2 = uncan(loaded)
      assert pfoo2(z=3) == partial_foo(z=3)
  
file_path: ipyparallel/ipyparallel/tests/test_canning.py
imports: import os
  import pickle
  from binascii import b2a_hex
  from functools import partial
  from ipyparallel.serialize import canning
  from ipyparallel.serialize.canning import can, uncan
label_desc: Use image node_id 10 for calling a global function with example usage: test_can_partial() and returns: unknown