def move_clock_forward(self, seconds):
    if not self._started:
      raise Exception("Timer not started but clock moved forward")

    self._clock += seconds
    if self._clock > self._seconds:
      self._handler()
dataset/ETHPy150Open pantsbuild/pants/tests/python/pants_test/util/test_timeout.py/FakeTimer.move_clock_forward/original