code: def test_roundtrip_nested():
      for obj in [
          dict(a=range(5), b={1: b"hello"}),
          [range(5), [range(3), (1, [b"whoda"])]],
      ]:
          obj2 = roundtrip(obj)
          assert obj == obj2
  
imports: import pickle
  from collections import namedtuple
  import pytest
  from ipyparallel import interactive
  from ipyparallel.serialize import deserialize_object, serialize_object
  from ipyparallel.serialize.canning import CannedArray, CannedClass
label_desc: Use image node_id 4 for calling a global function with example usage: test_roundtrip_nested() without return types