code: def test_unpack_with_buffer(self):
      # SF bug 1563759: struct.unpack doesn't support buffer protocol objects
      data1 = array.array("B", b"\x12\x34\x56\x78")
      data2 = memoryview(
          b"\x12\x34\x56\x78"
      )  # XXX b'......XXXX......', 6, 4
      for data in [data1, data2]:
          (value,) = struct.unpack(">I", data)
          self.assertEqual(value, 0x12345678)
  
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 14 for calling the StructTest obj's underlying member method code with example usage: obj.test_unpack_with_buffer() without return types