void () { myFixture.enableInspections(PyIncorrectDocstringInspection.class); myFixture.enableInspections(PyMissingOrEmptyDocstringInspection.class); myFixture.enableInspections(PySingleQuotedDocstringInspection.class); myFixture.enableInspections(PyByteLiteralInspection.class); myFixture.enableInspections(PyMandatoryEncodingInspection.class); myFixture.enableInspections(PyNonAsciiCharInspection.class); myFixture.configureByFile("inspections/" + getTestName(false) + "/test.py"); myFixture.checkHighlighting(true, false, true); }