void (final Class<? extends PyInspection> inspectionClass) { myFixture.configureByFile("inspections/suppress/" + getTestName(true) + ".py"); myFixture.enableInspections(inspectionClass); myFixture.checkHighlighting(true, false, true); }