void (@NotNull PyUnusedLocalInspection inspection) { final String path = "inspections/PyUnusedLocalInspection/" + getTestName(true) + ".py"; myFixture.configureByFile(path); myFixture.enableInspections(inspection); myFixture.checkHighlighting(true, false, true); }