code: def test_normal_iteration(self):
      it = IteratorPipe()
  
      it.put(1)
      it.put(2)
      it.put(3)
      it.close()  # stop iteration
  
      self.assertEqual(next(it), 1)
      self.assertEqual(next(it), 2)
      self.assertEqual(next(it), 3)
      self.assertRaises(StopIteration, next, it)
  
file_path: h2ogpt/tests/test_iterator_pipe.py
imports: import unittest
  from iterators import IteratorPipe
label_desc: Use image node_id 1 for calling the TestQueueToIterator obj's underlying member method code with example usage: obj.test_normal_iteration() without return types