Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
cython
Commits
23f8f11f
Commit
23f8f11f
authored
Nov 25, 2010
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test fixes
parent
2789351e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
tests/run/genexpr_iterable_lookup_T600.pyx
tests/run/genexpr_iterable_lookup_T600.pyx
+1
-1
tests/run/list_comp_in_closure_T598.pyx
tests/run/list_comp_in_closure_T598.pyx
+1
-1
No files found.
tests/run/genexpr_iterable_lookup_T600.pyx
View file @
23f8f11f
...
...
@@ -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
(
'//Si
ngleAssignmentNode//Si
mpleCallNode'
)
def
genexpr_iterable_in_closure
():
"""
>>> genexpr_iterable_in_closure()
...
...
tests/run/list_comp_in_closure_T598.pyx
View file @
23f8f11f
...
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment