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
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gwenaël Samain
cython
Commits
51add864
Commit
51add864
authored
Dec 28, 2014
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tighten reversed-range iteration test
parent
e4f3075d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tests/run/reversed_iteration.pyx
tests/run/reversed_iteration.pyx
+1
-1
No files found.
tests/run/reversed_iteration.pyx
View file @
51add864
...
@@ -253,7 +253,7 @@ def reversed_range_constant():
...
@@ -253,7 +253,7 @@ def reversed_range_constant():
@
cython
.
test_assert_path_exists
(
'//ForFromStatNode'
)
@
cython
.
test_assert_path_exists
(
'//ForFromStatNode'
)
#
@cython.test_fail_if_path_exists('//ForInStatNode')
@
cython
.
test_fail_if_path_exists
(
'//ForInStatNode'
)
def
reversed_range_constant_neg
():
def
reversed_range_constant_neg
():
"""
"""
>>> [ i for i in _reversed(range(-2, -12, -4)) ]
>>> [ i for i in _reversed(range(-2, -12, -4)) ]
...
...
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