docstr: test that trailing padding is preserved 
docstr_tok: ["test","that","trailing","padding","is","preserved"]
code: def test_nested_dtype_padding(self):
      """test that trailing padding is preserved"""
      # construct a dtype with padding at the end
      dt = np.dtype([("a", np.uint8), ("b", np.uint8), ("c", np.uint8)])
      dt_padded_end = dt[["a", "b"]]
      assert dt_padded_end.itemsize == dt.itemsize
  
      dt_outer = np.dtype([("inner", dt_padded_end)])
  
      data = np.zeros(3, dt_outer).view(np.recarray)
      assert_equal(data["inner"].dtype, dt_padded_end)
  
      data0 = data[0]
      assert_equal(data0["inner"].dtype, dt_padded_end)
  
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 17 for calling the TestRecord obj's underlying member method code with example usage: obj.test_nested_dtype_padding() without return types