mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-18 17:20:54 +07:00
highlight "Generator expression must be parenthesized if not sole argument" (PY-6926)
This commit is contained in:
@@ -157,6 +157,10 @@ public class PythonHighlightingTest extends PyTestCase {
|
||||
doTest(LanguageLevel.PYTHON32, true, false);
|
||||
}
|
||||
|
||||
public void testParenthesizedGenerator() {
|
||||
doTest(false, 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