Don't highlight Unicode literals in Python 3.3 as errors (PY-6703)

This commit is contained in:
Andrey Vlasovskikh
2012-06-04 22:04:38 +04:00
parent b0f01482fd
commit 56a0c67e4a
4 changed files with 13 additions and 3 deletions

View File

@@ -147,6 +147,11 @@ public class PythonHighlightingTest extends PyTestCase {
doTest(LanguageLevel.PYTHON30, true, false);
}
// PY-6703
public void testUnicode33() {
doTest(LanguageLevel.PYTHON33, true, false);
}
public void testYieldInNestedFunction() {
// highlight func declaration first, lest we get an "Extra fragment highlighted" error.
EditorColorsManager manager = EditorColorsManager.getInstance();