mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
PY-16412 Fixed handling of callable types in the intention
by adding an alternative implementation of TypeVisitor that strives to render a type in PEP 484 compatible format.
This commit is contained in:
committed by
Andrey Vlasovskikh
parent
12f9f91627
commit
d1ae008593
+4
@@ -223,6 +223,10 @@ public class PyAnnotateVariableTypeIntentionTest extends PyIntentionTestCase {
|
||||
doAnnotationTest();
|
||||
}
|
||||
|
||||
public void testAnnotationNotPossibleForStructuralTypeInCallable() {
|
||||
doAnnotationTest();
|
||||
}
|
||||
|
||||
public void testAnnotationCallableType() {
|
||||
doAnnotationTest();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user