void () { PyProtectedMemberInspection inspection = new PyProtectedMemberInspection(); inspection.ignoreAnnotations = true; myFixture.enableInspections(inspection); final PsiFile currentFile = myFixture.configureByFile(getTestFilePath()); myFixture.checkHighlighting(isWarning(), isInfo(), isWeakWarning()); assertSdkRootsNotParsed(currentFile); }