mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
test fix
This commit is contained in:
@@ -13,7 +13,7 @@ class <info descr="null" type="INFORMATION">A</info>(<info descr="null" type="IN
|
||||
<info descr="null" type="INFORMATION" foreground="0xffff00" background="0x000000" effectcolor="0xffffff" effecttype="BOXED" fonttype="1">__metaclass__</info> = M # assignment target
|
||||
|
||||
<info descr="null" type="INFORMATION" foreground="0x00ff00" background="0x000000" effectcolor="0xffffff" effecttype="BOXED" fonttype="1">@</info><info descr="null" type="INFORMATION">classmethod</info>
|
||||
def <info descr="null" type="INFORMATION">foo</info>(cls):
|
||||
def <info descr="null" type="INFORMATION">foo</info>(<info descr="null">cls</info>):
|
||||
pass
|
||||
|
||||
try:
|
||||
|
||||
@@ -7,11 +7,11 @@ def <info descr="null" type="INFORMATION" foreground="0xff0000" background="0x00
|
||||
pass
|
||||
|
||||
class <info descr="null" type="INFORMATION" foreground="0x0000ff" background="0x000000" effectcolor="0xffffff" effecttype="BOXED" fonttype="1">Moo</info>:
|
||||
def <info descr="null" type="INFORMATION" foreground="0x00ff00" background="0x000000" effectcolor="0xffffff" effecttype="BOXED" fonttype="1">__init__</info>(self):
|
||||
def <info descr="null" type="INFORMATION" foreground="0x00ff00" background="0x000000" effectcolor="0xffffff" effecttype="BOXED" fonttype="1">__init__</info>(<info descr="null">self</info>):
|
||||
pass
|
||||
|
||||
def <info descr="null" type="INFORMATION" foreground="0xff0000" background="0x000000" effectcolor="0xffffff" effecttype="BOXED" fonttype="1">doodle</info>(self):
|
||||
def <info descr="null" type="INFORMATION" foreground="0xff0000" background="0x000000" effectcolor="0xffffff" effecttype="BOXED" fonttype="1">doodle</info>(<info descr="null">self</info>):
|
||||
pass
|
||||
|
||||
def <info descr="null" type="INFORMATION" foreground="0xff0000" background="0x000000" effectcolor="0xffffff" effecttype="BOXED" fonttype="1">__made_up__</info>(self):
|
||||
def <info descr="null" type="INFORMATION" foreground="0xff0000" background="0x000000" effectcolor="0xffffff" effecttype="BOXED" fonttype="1">__made_up__</info>(<info descr="null">self</info>):
|
||||
return <info type="INFORMATION">None</info>
|
||||
|
||||
@@ -70,7 +70,7 @@ public class PythonHighlightingTest extends PyTestCase {
|
||||
}
|
||||
|
||||
public void testBreakOutsideOfLoop() {
|
||||
doTest();
|
||||
doTest(true, false);
|
||||
}
|
||||
|
||||
public void testReturnOutsideOfFunction() {
|
||||
|
||||
Reference in New Issue
Block a user