summaryrefslogtreecommitdiff
path: root/tests/errors/pep492_badsyntax_async2.pyx
blob: 4ea30dba1f18ed77510b43df8b41cc0b6a09db50 (plain)
1
2
3
4
5
6
7
8
9
10
11
# mode: error
# tag: pep492, async

async def foo():
    def foo(a:await list()):
        pass

_ERRORS = """
5:14: 'await' not supported here
5:14: 'await' not supported here
"""