def METHOD_NAME(self):
    """Test interrupt future being interrupted from inside of coroutine"""
    loop = asyncio.get_event_loop()
    interruptable = InterruptableFuture()
    fut = asyncio.Future()
    async def task():
        await asyncio.sleep(1.)
        interruptable.interrupt(RuntimeError('STOP'))
        fut.set_result('I got set.')
    try:
        loop.run_until_complete(interruptable.with_interrupt(task()))
    except RuntimeError as err:
        assert str(err) == 'STOP'
    else:
        pytest.fail('ExpectedException not raised')
    assert interruptable.done()
    assert fut.result() == 'I got set.'