code: def test_array_serialization_empty():
      a = array()
      # cPickle with protocol 2 required for Python 2.7
      # see http://pybind11.readthedocs.io/en/stable/advanced/classes.html#custom-constructors
      ser = pickle.dumps(a, 2)
      deser = pickle.loads(ser)
      assert a == deser
  
file_path: dlib/tools/python/test/test_array.py
imports: from dlib import array
  from pytest import raises
label_desc: Use image node_id 8 for calling a global function with example usage: test_array_serialization_empty() without return types