code: def test_struct_subclass_instantiation(self):
      # Regression test for https://github.com/python/cpython/issues/112358
      class MyStruct(struct.Struct):
          def __init__(self):
              super().__init__(">h")
  
      my_struct = MyStruct()
      self.assertEqual(my_struct.pack(12345), b"\x30\x39")
  
imports: from collections import abc
  import array
  import gc
  import math
  import operator
  import unittest
  import struct
  import sys
  import weakref
  from test import support
  from test.support import import_helper
  from test.support.script_helper import assert_python_ok
label_desc: Use image node_id 32 for calling the StructTest obj's underlying member method code with example usage: obj.test_struct_subclass_instantiation() without return types