code: def test_no_same_indices_order_sampler(self):
      dataset = [1, 2, 3, 4, 5, 6]
      batchsize = 5
  
      it = iterators.MultithreadIterator(
          dataset,
          batchsize,
          order_sampler=NoSameIndicesOrderSampler(batchsize),
      )
      for _ in range(5):
          batch = it.next()
          self.assertEqual(len(numpy.unique(batch)), batchsize)
  
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 1 for calling the TestMultithreadIteratorNoSameIndicesOrderSampler obj's underlying member method code with example usage: obj.test_no_same_indices_order_sampler() without return types