Fix Py3UnresolvedReferencesInspectionTest.testAsyncInitMethod and PythonHighlightingTest.testAsyncBuiltinMethods

This commit is contained in:
Semyon Proshev
2016-08-02 21:15:05 +03:00
parent 84c466bb5e
commit aacd5e6781
2 changed files with 3 additions and 3 deletions
@@ -1,8 +1,8 @@
class A:
<error descr="method \"__init__\" cannot be async">async</error> def __init__(self):
<error descr="function \"__init__\" cannot be async">async</error> def __init__(self):
pass
<error descr="method \"__contains__\" cannot be async">async</error> def __contains__(self, value):
<error descr="function \"__contains__\" cannot be async">async</error> def __contains__(self, value):
pass
async def __aiter__(self):
@@ -1,5 +1,5 @@
class A:
<error descr="method \"__init__\" cannot be async">async</error> def __init__(self):
<error descr="function \"__init__\" cannot be async">async</error> def __init__(self):
self.foo = '2'
self.bar = '3'