mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-04 17:20:55 +07:00
PY-45588 Add necessary imports on completing methods of superclasses to override
I had to move addImports to PyClassRefactoringUtil because PySuperMethodCompletionContributor resides in python-psi-impl and, thus, has no access to PyOverrideImplementUtil. GitOrigin-RevId: cf2ac19da779977649144b2477bac3f8ae78bbcd
This commit is contained in:
committed by
intellij-monorepo-bot
parent
c7bba04743
commit
a2af264b63
@@ -331,6 +331,11 @@ public abstract class PythonCommonCompletionTest extends PythonCommonTestCase {
|
||||
runWithLanguageLevel(LanguageLevel.getLatest(), this::doTest);
|
||||
}
|
||||
|
||||
// PY-45588
|
||||
public void testSuperMethodWithAnnotationInsertingImports() {
|
||||
runWithLanguageLevel(LanguageLevel.getLatest(), this::doMultiFileTest);
|
||||
}
|
||||
|
||||
public void testSuperMethodWithCommentAnnotation() {
|
||||
doTest();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user