code: def test_recarray():
      pytest.importorskip("numpy")
      from numpy.testing import assert_array_equal
  
      for shape in SHAPES:
          for dtype in [
              [("f", float), ("s", "|S10")],
              [("n", int), ("s", "|S1"), ("u", "uint32")],
          ]:
              A = new_array(shape, dtype=dtype)
  
              bufs = serialize_object(A)
              B, r = deserialize_object(bufs)
              assert r == []
              assert A.shape == B.shape
              assert A.dtype == B.dtype
              assert_array_equal(A, B)
  
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 8 for calling a global function with example usage: test_recarray() without return types