Unicode highlighting: fixes in octals, tests, updated colors page

This commit is contained in:
Dmitry Cheryasov
2011-05-10 13:56:34 +03:00
parent 17d2b5d003
commit 1178cfb93f
8 changed files with 89 additions and 82 deletions

View File

@@ -170,6 +170,15 @@ public class PythonHighlightingTest extends PyLightFixtureTestCase {
doTest(LanguageLevel.PYTHON25, true, true);
}
public void testUnicodeOrByte26future() {
doTest(LanguageLevel.PYTHON26, true, true);
}
public void testUnicodeOrByte30() {
doTest(LanguageLevel.PYTHON30, true, true);
}
// ---
private void doTest(final LanguageLevel languageLevel, final boolean checkWarnings, final boolean checkInfos) {
PythonLanguageLevelPusher.setForcedLanguageLevel(myFixture.getProject(), languageLevel);