code: def test_disk_iterate_batch_size():
      solubility_dataset = load_solubility_data()
      X, y, _, _ = (
          solubility_dataset.X,
          solubility_dataset.y,
          solubility_dataset.w,
          solubility_dataset.ids,
      )
      batch_sizes = []
      for X, y, _, _ in solubility_dataset.iterbatches(
          3, epochs=2, pad_batches=False, deterministic=True
      ):
          batch_sizes.append(len(X))
      assert [3, 3, 3, 1, 3, 3, 3, 1] == batch_sizes
  
imports: import random
  import math
  import unittest
  import os
  import numpy
  import pytest
  import deepchem
  import pandas
  import tempfile
label_desc: Use image node_id 19 for calling a global function with example usage: test_disk_iterate_batch_size() without return types