def test_num_laps(self):
    nLap = self.DataIterator.nLap
    nBatch = self.DataIterator.nBatch
    for lapID in range(nLap):
      for batchCount in range(nBatch):
        bData = self.DataIterator.get_next_batch()
        assert self.DataIterator.curLapPos == batchCount
        assert self.DataIterator.lapID == lapID
        self.verify_batch(bData)
    try:
      bData = self.DataIterator.get_next_batch()
      raise Exception('should not make it to this line!')
    except StopIteration:
      assert 1==1
:Parameters:
dataset/ETHPy150Open daeilkim/refinery/refinery/bnpy/bnpy-dev/tests/data/TestMinibatchIterator.py/TestMinibatchIterator.test_num_laps--crossover with--dataset/ETHPy150Open CountZer0/PipelineConstructionSet/python/maya/site-packages/pymel-1.0.3/pymel/api/allapi.py/SafeApiPtr.__init__