Reduce code duplication in determining if default argument value is mutable (PY-27517)

This commit is contained in:
Semyon Proshev
2018-04-02 18:48:25 +03:00
parent d9f32f650b
commit a6c3621086
8 changed files with 62 additions and 43 deletions
@@ -90,8 +90,7 @@ public class PythonInspectionsTest extends PyTestCase {
}
public void testPyDefaultArgumentInspection() {
LocalInspectionTool inspection = new PyDefaultArgumentInspection();
doTest(getTestName(false), inspection);
doHighlightingTest(PyDefaultArgumentInspection.class);
}
public void testPyDocstringInspection() {