Commit 23f8f11f authored by Stefan Behnel's avatar Stefan Behnel

test fixes

parent 2789351e
......@@ -18,7 +18,7 @@ def list_genexpr_iterable_lookup():
return result
@cython.test_assert_path_exists('//ComprehensionNode')
@cython.test_fail_if_path_exists('//SimpleCallNode')
@cython.test_fail_if_path_exists('//SingleAssignmentNode//SimpleCallNode')
def genexpr_iterable_in_closure():
"""
>>> genexpr_iterable_in_closure()
......
......@@ -37,5 +37,5 @@ def genexpr_scope_in_closure():
return i, x
result = list( x*i for x in range(5) if x % 2 == 0 )
assert x == 'abc' # don't leak in Py3 code
assert f() == 2,'abc' # don't leak in Py3 code
assert f() == (2,'abc') # don't leak in Py3 code
return result
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment