test: type for 'self' parameter

This commit is contained in:
Dmitry Jemerov
2008-03-07 16:37:38 +03:00
parent 50af3915a5
commit 7623695046
3 changed files with 10 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
class A:
def method(self): pass
def test(self): self.method

View File

@@ -0,0 +1,3 @@
class A:
def method(self): pass
def test(self): self.m<caret>

View File

@@ -24,4 +24,8 @@ public class PythonCompletionTest extends LightCodeInsightTestCase{
public void testLocalVar() throws Exception {
doTest();
}
public void testSelfMethod() throws Exception {
doTest();
}
}