annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
72
7ac23f4336b1 Add ast.AsyncWith.
Bastien Orivel <eijebong@bananium.fr>
parents:
diff changeset
1 async def b():
7ac23f4336b1 Add ast.AsyncWith.
Bastien Orivel <eijebong@bananium.fr>
parents:
diff changeset
2 async with a:
7ac23f4336b1 Add ast.AsyncWith.
Bastien Orivel <eijebong@bananium.fr>
parents:
diff changeset
3 pass
7ac23f4336b1 Add ast.AsyncWith.
Bastien Orivel <eijebong@bananium.fr>
parents:
diff changeset
4 async with a() as b, c:
7ac23f4336b1 Add ast.AsyncWith.
Bastien Orivel <eijebong@bananium.fr>
parents:
diff changeset
5 pass