mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-04 08:51:02 +07:00
Support 'yield from' syntax (PY-6702)
This commit is contained in:
@@ -152,6 +152,11 @@ public class PythonHighlightingTest extends PyTestCase {
|
||||
doTest(LanguageLevel.PYTHON33, true, false);
|
||||
}
|
||||
|
||||
// PY-6702
|
||||
public void testYieldFromBefore33() {
|
||||
doTest(LanguageLevel.PYTHON32, true, false);
|
||||
}
|
||||
|
||||
public void testYieldInNestedFunction() {
|
||||
// highlight func declaration first, lest we get an "Extra fragment highlighted" error.
|
||||
EditorColorsManager manager = EditorColorsManager.getInstance();
|
||||
|
||||
Reference in New Issue
Block a user