void () { final PyUnusedLocalInspection inspection = new PyUnusedLocalInspection(); inspection.ignoreTupleUnpacking = false; inspection.ignoreLambdaParameters = false; runWithLanguageLevel(LanguageLevel.PYTHON27, () -> doTest(inspection)); }