fixed tests (CreateFunctionQuickFix, LambdaToFunctionIntention)

This commit is contained in:
Ekaterina Tuzova
2010-11-29 20:06:01 +03:00
parent fdee21f3a5
commit 9c8b0f3678
4 changed files with 9 additions and 11 deletions
@@ -1 +1,2 @@
<warning descr="Unresolved reference 'ref'">ref</warning>
s = 3
<warning descr="Unresolved reference 'ref'"><caret>ref</warning>(s, t=1)
@@ -1,4 +1,6 @@
def ref():
s = 3
def ref(s, t):
pass
ref
ref(s, t=1)
@@ -1,6 +1,2 @@
def func(seq):
def function(x, y):
return (x + y) / y
newlist = reduce(function
, seq)
def newlist(x, y):
return (x + y) / y
@@ -1,2 +1 @@
def func(seq):
newlist = reduce(lambda x<caret>, y: (x+y)/y, seq)
newlist = lambda x<caret>, y: (x+y)/y