mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
These get to live next to the existing library and query tests, and are run as part of both the Python 2 and Python 3 language tests.
28 lines
272 B
Python
28 lines
272 B
Python
|
|
def normal():
|
|
pass
|
|
|
|
async def is_async():
|
|
pass
|
|
|
|
def decorator(func):
|
|
return func
|
|
|
|
@decorator
|
|
def deco():
|
|
pass
|
|
|
|
@decorator
|
|
async def deco_async():
|
|
pass
|
|
|
|
|
|
|
|
async def foo():
|
|
async for x in y:
|
|
async with a as b:
|
|
pass
|
|
await z
|
|
|
|
|