mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-04 17:20:55 +07:00
PythonHighlightingTest fixed
This commit is contained in:
@@ -14,4 +14,4 @@ class <info descr="null" type="INFORMATION" foreground="0x0000ff" background="0x
|
||||
pass
|
||||
|
||||
def <info descr="null" type="INFORMATION" foreground="0xff0000" background="0x000000" effectcolor="0xffffff" effecttype="BOXED" fonttype="1">__made_up__</info>(self):
|
||||
return None
|
||||
return <info type="INFORMATION">None</info>
|
||||
|
||||
@@ -2,4 +2,4 @@
|
||||
def <info descr="null" type="INFORMATION" foreground="0xff0000" background="0x000000" effectcolor="0xffffff" effecttype="BOXED" fonttype="1">foo</info>():
|
||||
def <info descr="null" type="INFORMATION" foreground="0xff0000" background="0x000000" effectcolor="0xffffff" effecttype="BOXED" fonttype="1">a</info>():
|
||||
yield 1
|
||||
return False
|
||||
return <info type="INFORMATION">False</info>
|
||||
|
||||
@@ -63,7 +63,7 @@ public class PythonHighlightingTest extends PyLightFixtureTestCase {
|
||||
}
|
||||
|
||||
public void testContinueInFinallyBlock() throws Exception {
|
||||
doTest();
|
||||
doTest(false, false);
|
||||
}
|
||||
|
||||
public void testReturnWithArgumentsInGenerator() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user