summaryrefslogtreecommitdiff
path: root/pylint/test/functional/yield_inside_async_function.py
Commit message (Collapse)AuthorAgeFilesLines
* Start adding a protocol checker for the async features added in PEP 492:Claudiu Popa2015-10-011-0/+12
* this patch adds the basis of a new checker, 'async', which deals with problems that can occur when working with async features added in Python with PEP 492. * We're also adding a new error, 'yield-inside-async-function', emitted on Python 3.5 and upwards when the `yield` statement is found inside a new coroutine function (PEP 492). * Another new error is added, 'not-async-context-manager', emitted when an async context manager block is used with an object which doesn't support this protocol (PEP 492).