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
c2157cb4
Commit
c2157cb4
authored
Apr 29, 2010
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test fix after extending dead code removal
parent
355e708b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
6 deletions
+9
-6
tests/errors/return_outside_function_T135.pyx
tests/errors/return_outside_function_T135.pyx
+9
-6
No files found.
tests/errors/return_outside_function_T135.pyx
View file @
c2157cb4
def
_runtime_True
():
return
True
return
'bar'
class
A
:
...
...
@@ -19,20 +22,20 @@ for i in (1,2):
while
True
:
return
None
if
True
:
if
_runtime_True
()
:
return
None
else
:
return
None
_ERRORS
=
u'''
2:0: Return not inside a function body
5:4: Return not inside a function body
5:0: Return not inside a function body
8:4: Return not inside a function body
1
0:5
: Return not inside a function body
1
1:4
: Return not inside a function body
13:5: Return not inside a function body
1
7:4
: Return not inside a function body
1
6:5
: Return not inside a function body
20:4: Return not inside a function body
23:4: Return not inside a function body
25:4: Return not inside a function body
26:4: Return not inside a function body
28:4: Return not inside a function body
'''
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