code: def test_minibatches_nested_inputs_with_nones(self):
      data = [np.arange(24)], None
      iterbatches = iters.minibatches(
          data, batch_size=12, shuffle=False
      )
  
      collected_samples = []
      for batch in iterbatches:
          collected_samples.append(batch)
  
      batch_1 = np.arange(12)
      batch_2 = np.arange(12, 24)
  
      self.assertEqual(len(collected_samples), 2)
      np.testing.assert_array_equal(collected_samples[0][0], [batch_1])
      np.testing.assert_array_equal(collected_samples[0][1], None)
  
      np.testing.assert_array_equal(collected_samples[1][0], [batch_2])
      np.testing.assert_array_equal(collected_samples[1][1], None)
  
file_path: neupy/tests/utils/test_iters.py
imports: import numpy
  from neupy.utils import iters
  from neupy.utils.iters import average_batch_errors, count_samples, count_minibatches
  from base import BaseTestCase
label_desc: Use image node_id 5 for calling the ItersUtilsTestCase obj's underlying member method code with example usage: obj.test_minibatches_nested_inputs_with_nones() without return types