def test_is_future_coroutine(framework_aio):
    pytest.importorskip('asyncio')  # 'aio' might be using trollius
    from asyncio import coroutine

    @coroutine
    def some_coroutine():
        yield 'answer'
    obj = some_coroutine()
    assert txaio.is_future(obj)
A valid API request to create a container including port mappings
dataset/ETHPy150Open crossbario/txaio/test/test_is_future.py/test_is_future_coroutine--crossover with--dataset/ETHPy150Open ClusterHQ/flocker/flocker/control/test/test_httpapi.py/CreateContainerTestsMixin.test_create_container_with_ports