mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Fix Py3UnresolvedReferencesInspectionTest.testAsyncInitMethod and PythonHighlightingTest.testAsyncBuiltinMethods
This commit is contained in:
@@ -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'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user