mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Update provided type for typing.Callable (PY-28177)
Use custom type inheriting class-like type to suppress `Callable[...]` warnings. Remove some checks against `Callable` in type checker because they are processed below when matching callable types. Update custom type to detemine ability to call from the name as well.
This commit is contained in:
+5
@@ -220,6 +220,11 @@ public class Py3UnresolvedReferencesInspectionTest extends PyInspectionTestCase
|
||||
doTest();
|
||||
}
|
||||
|
||||
// PY-28177
|
||||
public void testTypingOpaqueNameDunderGetItem() {
|
||||
doTest();
|
||||
}
|
||||
|
||||
// PY-21655
|
||||
public void testUsageOfFunctionDecoratedWithAsyncioCoroutine() {
|
||||
doMultiFileTest("a.py");
|
||||
|
||||
Reference in New Issue
Block a user