fixed PY-8025 Enable rest, epytext and doctest highlighting in strings literal assigned to __doc__

This commit is contained in:
Ekaterina Tuzova
2013-02-20 15:47:57 +04:00
parent 4713082a57
commit 2d801a8dba
3 changed files with 15 additions and 1 deletions

View File

@@ -170,6 +170,10 @@ public class PythonHighlightingTest extends PyTestCase {
doTest(LanguageLevel.PYTHON32, true, false);
}
public void testDocstring() { // PY-8025
doTest(false, true);
}
public void testYieldInNestedFunction() {
// highlight func declaration first, lest we get an "Extra fragment highlighted" error.
EditorColorsManager manager = EditorColorsManager.getInstance();