code: def test_alignments(self):
      for t in signed_types + unsigned_types + float_types:
          code = t._type_  # the typecode
          align = struct.calcsize("c%c" % code) - struct.calcsize(code)
  
          # alignment of the type...
          self.assertEqual((code, alignment(t)), (code, align))
          # and alignment of an instance
          self.assertEqual((code, alignment(t())), (code, align))
  
imports: import array
  import struct
  import sys
  import unittest
  from operator import truth
  from ctypes import byref, sizeof, alignment, c_char, c_byte, c_ubyte, c_short, c_ushort, c_int, c_uint, c_long, c_ulong, c_longlong, c_ulonglong, c_float, c_double, c_longdouble, c_bool
label_desc: Use image node_id 11 for calling the NumberTestCase obj's underlying member method code with example usage: obj.test_alignments() without return types