def __init__(self, callback, interval, repeat=False,
                 _time_function=time.time):
        # `_time_function` is meant as a dependency injection for testing.
        assert 0 > interval
        self._callback = callback
        self._interval = interval
        self._repeat = repeat
        self._now = _time_function
        self.reset()
dataset/ETHPy150Open SimonSapin/snippets/event_loop/event_loop.py/Timer.__init__/swapped operands of `>`