class_docstr: Tests for iterative unpacking (struct.Struct.iter_unpack).
code: def test_module_func(self):
      # Sanity check for the global struct.iter_unpack()
      it = struct.iter_unpack(">IB", bytes(range(1, 11)))
      self.assertEqual(next(it), (0x01020304, 5))
      self.assertEqual(next(it), (0x06070809, 10))
      self.assertRaises(StopIteration, next, it)
      self.assertRaises(StopIteration, next, it)
  
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 6 for calling the UnpackIteratorTest obj's underlying member method code with example usage: obj.test_module_func() without return types