Annotator to highlight unsupported features in Python2

This commit is contained in:
alexey.ivanov
2010-02-25 13:42:37 +03:00
parent a1db395f8a
commit 1b02b30eb3
25 changed files with 517 additions and 60 deletions

View File

@@ -107,6 +107,10 @@ public class PythonHighlightingTest extends PyLightFixtureTestCase {
doTest();
}
public void testUnsupportedFeaturesInPython2() throws Exception {
doTest(LanguageLevel.PYTHON26, true, false);
}
public void testYieldInNestedFunction() throws Exception {
// highlight func declaration first, lest we get an "Extra fragment highlighted" error.
EditorColorsManager manager = EditorColorsManager.getInstance();