def METHOD_NAME(self):
    # bpo-19270
    events = []
    scheduler = sched.scheduler()
    scheduler.enterabs(1, 1, events.append, ("a",))
    b = scheduler.enterabs(1, 1, events.append, ("b",))
    scheduler.enterabs(1, 1, events.append, ("c",))
    scheduler.cancel(b)
    scheduler.run()
    self.assertEqual(events, ["a", "c"])