diff --git a/python/testSrc/com/jetbrains/python/PythonInspectionsTest.java b/python/testSrc/com/jetbrains/python/PythonInspectionsTest.java index 7d66786f0b8b..2d471b627174 100644 --- a/python/testSrc/com/jetbrains/python/PythonInspectionsTest.java +++ b/python/testSrc/com/jetbrains/python/PythonInspectionsTest.java @@ -17,7 +17,7 @@ public class PythonInspectionsTest extends PyLightFixtureTestCase { } private void doTest(String testName, LocalInspectionTool localInspectionTool) throws Throwable { - myFixture.testInspection(testName, new LocalInspectionToolWrapper(localInspectionTool)); + myFixture.testInspection("inspections/" + testName, new LocalInspectionToolWrapper(localInspectionTool)); } public void testPyMethodFirstArgAssignmentInspection() throws Throwable { @@ -71,8 +71,4 @@ public class PythonInspectionsTest extends PyLightFixtureTestCase { LocalInspectionTool inspection = new PyTrailingSemicolonInspection(); doTest(getTestName(false), inspection); } - - protected String getTestDataPath() { - return PythonTestUtil.getTestDataPath() + "/inspections/"; - } }