mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
PY-16412 Support type hints for instance attributes using type comments
This commit is contained in:
committed by
Andrey Vlasovskikh
parent
1d71f182c1
commit
3c74966e95
+6
-2
@@ -91,11 +91,15 @@ public class PyAnnotateVariableTypeIntentionTest extends PyIntentionTestCase {
|
||||
}
|
||||
|
||||
public void testTypeCommentInstanceAttribute() {
|
||||
doTestAnnotation();
|
||||
doTestTypeComment();
|
||||
}
|
||||
|
||||
public void testTypeCommentInstanceAttributePy3() {
|
||||
doTest(LanguageLevel.PYTHON30);
|
||||
}
|
||||
|
||||
public void testTypeCommentInstanceAttributeDocstring() {
|
||||
doTestAnnotation();
|
||||
doTestTypeComment();
|
||||
}
|
||||
|
||||
public void testTypeCommentLocalSimpleAssignmentTarget() {
|
||||
|
||||
Reference in New Issue
Block a user