projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e243870
)
Tests fixes for Py3.
author
Robert Bradshaw
<robertwb@math.washington.edu>
Thu, 9 Sep 2010 08:27:54 +0000
(
01:27
-0700)
committer
Robert Bradshaw
<robertwb@math.washington.edu>
Thu, 9 Sep 2010 08:27:54 +0000
(
01:27
-0700)
tests/run/slice_ptr.pyx
patch
|
blob
|
history
diff --git
a/tests/run/slice_ptr.pyx
b/tests/run/slice_ptr.pyx
index 466cf04197b6a8ea3627c0f534f3a7496c5164b4..e46bd73dc65bc7017f47d518d4ef9bcd51bae587 100644
(file)
--- a/
tests/run/slice_ptr.pyx
+++ b/
tests/run/slice_ptr.pyx
@@
-3,7
+3,7
@@
from cpython.object cimport Py_EQ, Py_NE
def double_ptr_slice(x, L, int a, int b):
"""
- >>> L =
range(10
)
+ >>> L =
list(range(10)
)
>>> double_ptr_slice(5, L, 0, 10)
>>> double_ptr_slice(6, L, 0, 10)
>>> double_ptr_slice(None, L, 0, 10)
@@
-27,7
+27,7
@@
def double_ptr_slice(x, L, int a, int b):
def void_ptr_slice(py_x, L, int a, int b):
"""
- >>> L =
range(10
)
+ >>> L =
list(range(10)
)
>>> void_ptr_slice(5, L, 0, 10)
>>> void_ptr_slice(6, L, 0, 10)
>>> void_ptr_slice(None, L, 0, 10)