void () { runWithLanguageLevel( LanguageLevel.PYTHON34, () -> { final String testFileName = getTestName(true); myFixture.enableInspections(PyUnusedLocalInspection.class); myFixture.configureByFile(testFileName + ".py"); myFixture.checkHighlighting(true, false, false); final IntentionAction intentionAction = myFixture.getAvailableIntention(PyPsiBundle.message("QFIX.NAME.remove.parameter")); assertNull(intentionAction); } ); }