def METHOD_NAME(self):
    task = DummyTask(fn=lambda: time.sleep(1))
    scheduler, thread = self.create_and_start(None)
    scheduler.schedule(task, period=0.5, fixed_rate=True)
    scheduler.schedule(scheduler.close, start=time.time() + 1.25)
    thread.join(5)
    assert len(task.invocations) == 3
    first = task.invocations[0][1]
    assert first + 0.5 == pytest.approx(task.invocations[1][1], 0.1)
    assert first + 1 == pytest.approx(task.invocations[2][1], 0.1)
    assert poll_condition(lambda: len(task.completions) >= 3, timeout=5)