def METHOD_NAME(self):
    i = iter_with_sleep()
    it = TimeoutIterator(i, timeout=0.5, sentinel="END")
    self.assertEqual(next(it), 1)
    self.assertEqual(next(it), it.get_sentinel())
    it.interrupt()
    self.assertEqual(next(it), 2)
    self.assertRaises(StopIteration, next, it)