code: def test_reset(self):
      dataset = [1, 2, 3, 4, 5]
      it = iterators.MultithreadIterator(
          dataset, 2, repeat=False, **self.options
      )
  
      for trial in range(4):
          batches = sum([it.next() for _ in range(3)], [])
          self.assertEqual(sorted(batches), dataset)
          for _ in range(2):
              self.assertRaises(StopIteration, it.next)
          it.reset()
  
imports: from __future__ import division
  import copy
  import unittest
  import numpy
  import six
  from chainer import iterators
  from chainer import serializers
  from chainer import testing
label_desc: Use image node_id 12 for calling the TestMultithreadIterator obj's underlying member method code with example usage: obj.test_reset() without return types