projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b8c5b0
)
fix test
author
Stefan Behnel
<scoder@users.berlios.de>
Thu, 30 Apr 2009 16:42:30 +0000
(18:42 +0200)
committer
Stefan Behnel
<scoder@users.berlios.de>
Thu, 30 Apr 2009 16:42:30 +0000
(18:42 +0200)
tests/run/cdef_setitem_T284.pyx
patch
|
blob
|
history
diff --git
a/tests/run/cdef_setitem_T284.pyx
b/tests/run/cdef_setitem_T284.pyx
index 81edbba46dde1e3f6503a2a9fc0d276d7cc54c46..2f042ae2c1ff39ea9cecbf04a3855f70e6968c1d 100644
(file)
--- a/
tests/run/cdef_setitem_T284.pyx
+++ b/
tests/run/cdef_setitem_T284.pyx
@@
-1,13
+1,16
@@
__doc__ = u'''
>>> no_cdef()
>>> with_cdef()
+
>>> test_list(range(11), -2, None)
[0, 1, 2, 3, 4, 5, 6, 7, 8, None, 10]
+
>>> test_list(range(11), "invalid index", None)
Traceback (most recent call last):
...
-TypeError: list indices must be integers
+TypeError: list indices must be integers
, not str
'''
+
def no_cdef():
lst = range(11)
ob = 10L