code: def test_pickle_1(self):
      # Issue #1529
      a = np.array(
          [(1, [])], dtype=[("a", np.int32), ("b", np.int32, 0)]
      )
      for proto in range(2, pickle.HIGHEST_PROTOCOL + 1):
          assert_equal(a, pickle.loads(pickle.dumps(a, protocol=proto)))
          assert_equal(
              a[0], pickle.loads(pickle.dumps(a[0], protocol=proto))
          )
  
imports: import collections.abc
  import textwrap
  from io import BytesIO
  from os import path
  from pathlib import Path
  import pytest
  import numpy
  from numpy.testing import assert_, assert_equal, assert_array_equal, assert_array_almost_equal, assert_raises, temppath
  from numpy.compat import pickle
label_desc: Use image node_id 7 for calling the TestRecord obj's underlying member method code with example usage: obj.test_pickle_1() without return types