def METHOD_NAME(f, dumpfile):
    with DumbCheckpoint(dumpfile, mode=FILE_CREATE) as chk:
        chk.set_timestep(0.1)
        chk.store(f)
        chk.set_timestep(0.2)
        chk.store(f)
        steps, indices = chk.get_timesteps()
        assert np.allclose(steps, [0.1, 0.2])
        assert np.allclose(indices, [0, 1])