(self, *args, **kwargs)
| 837 | # Regression test for https://github.com/python/cpython/issues/112358 |
| 838 | class MyStruct(struct.Struct): |
| 839 | def __init__(self, *args, **kwargs): |
| 840 | super().__init__('>h') |
| 841 | |
| 842 | my_struct = MyStruct('>h') |
| 843 | self.assertEqual(my_struct.pack(12345), b'\x30\x39') |
no test coverage detected