view tests/test_parse_files/test_async_with.py @ 94:e0368bea06a6

Refactor tests a little bit so it's easier to add more.
author Bastien Orivel <eijebong@bananium.fr>
date Tue, 14 Jun 2016 18:39:48 +0200
parents 7ac23f4336b1
children
line wrap: on
line source

async def b():
    async with a:
        pass
    async with a() as b, c:
        pass