summaryrefslogtreecommitdiff
path: root/pylint/test/functional/async_functions.py
diff options
context:
space:
mode:
authorssolanki <sushobhitsolanki@gmail.com>2018-06-20 21:25:06 +0530
committerssolanki <sushobhitsolanki@gmail.com>2018-06-21 11:17:27 +0530
commit5673ffe2d83282e79d958b9bd84f47245a201127 (patch)
treeaf68c275a8a2faf274e9b63f87913098176e7faa /pylint/test/functional/async_functions.py
parent5d32878d01db8e46a98f8473a4b9725f388425ca (diff)
downloadpylint-git-5673ffe2d83282e79d958b9bd84f47245a201127.tar.gz
adapt existing test cases for useless-object-inheritance.
adapt existing test/input test cases to new check. add some more positive test case for useless-object-inheritance msg code was in conflict with existing msg. adapt existing test cases for new checker.
Diffstat (limited to 'pylint/test/functional/async_functions.py')
-rw-r--r--pylint/test/functional/async_functions.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/pylint/test/functional/async_functions.py b/pylint/test/functional/async_functions.py
index 8375b8988..f8427d073 100644
--- a/pylint/test/functional/async_functions.py
+++ b/pylint/test/functional/async_functions.py
@@ -1,6 +1,6 @@
"""Check that Python 3.5's async functions are properly analyzed by Pylint."""
# pylint: disable=missing-docstring,invalid-name,too-few-public-methods
-# pylint: disable=using-constant-test
+# pylint: disable=using-constant-test, useless-object-inheritance
async def next(): # [redefined-builtin]
pass
@@ -61,4 +61,3 @@ async def func(a, a, b=[]):
# +1: [empty-docstring, blacklisted-name]
async def foo():
""
- \ No newline at end of file