Files
codeql/python/ql/test/extractor-tests/async/test.py
Taus e45f6e9b24 Python: Add copy of extractor tests
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.
2024-04-15 12:22:07 +00:00

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