mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-19 10:20:56 +07:00
Fixed false negative for 'yield' expressions in default values of parameters
This commit is contained in:
@@ -110,6 +110,10 @@ public class PythonHighlightingTest extends PyTestCase {
|
||||
public void testYieldOutsideOfFunction() {
|
||||
doTest(LanguageLevel.PYTHON27, true, true);
|
||||
}
|
||||
|
||||
public void testYieldInDefaultValue() {
|
||||
doTest(LanguageLevel.PYTHON34, true, false);
|
||||
}
|
||||
|
||||
public void testImportStarAtTopLevel() {
|
||||
doTest(true, false);
|
||||
|
||||
Reference in New Issue
Block a user