mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-06 20:39:40 +07:00
test: type for 'self' parameter
This commit is contained in:
3
python/testData/completion/selfMethod.after.py
Normal file
3
python/testData/completion/selfMethod.after.py
Normal file
@@ -0,0 +1,3 @@
|
||||
class A:
|
||||
def method(self): pass
|
||||
def test(self): self.method
|
||||
3
python/testData/completion/selfMethod.py
Normal file
3
python/testData/completion/selfMethod.py
Normal file
@@ -0,0 +1,3 @@
|
||||
class A:
|
||||
def method(self): pass
|
||||
def test(self): self.m<caret>
|
||||
@@ -24,4 +24,8 @@ public class PythonCompletionTest extends LightCodeInsightTestCase{
|
||||
public void testLocalVar() throws Exception {
|
||||
doTest();
|
||||
}
|
||||
|
||||
public void testSelfMethod() throws Exception {
|
||||
doTest();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user