void () { myFixture.configureByFile("inspections/" + getTestName(false) + "/test.py"); PyChainedComparisonsInspection inspection = new PyChainedComparisonsInspection(); myFixture.enableInspections(inspection); inspection.ignoreConstantInTheMiddle = true; myFixture.checkHighlighting(true, false, true); }