code: def test_issue35714(self):
      # Embedded null characters should not be allowed in format strings.
      for s in "\0", "2\0i", b"\0":
          with self.assertRaisesRegex(
              struct.error, "embedded null character"
          ):
              struct.calcsize(s)
  
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 29 for calling the StructTest obj's underlying member method code with example usage: obj.test_issue35714() without return types