projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d93d734
)
fix failing testcase in Py2 because of long suffix
author
Lisandro Dalcin
<dalcinl@gmail.com>
Thu, 8 Oct 2009 22:48:00 +0000
(19:48 -0300)
committer
Lisandro Dalcin
<dalcinl@gmail.com>
Thu, 8 Oct 2009 22:48:00 +0000
(19:48 -0300)
tests/run/ctypedef_int_types_T333.pyx
patch
|
blob
|
history
diff --git
a/tests/run/ctypedef_int_types_T333.pyx
b/tests/run/ctypedef_int_types_T333.pyx
index 5d2f1c06a1a9103f68e752ed95e1d204ac3f392a..65963d01cf22aeb85cacd233beef16668d754fd3 100644
(file)
--- a/
tests/run/ctypedef_int_types_T333.pyx
+++ b/
tests/run/ctypedef_int_types_T333.pyx
@@
-576,15
+576,15
@@
def test_DefSInt(defs.SInt x):
"""
return x
-def test_DefU
Int(defs.UInt
x):
+def test_DefU
Char(defs.UChar
x):
u"""
- >>> test_DefU
Int
(-1) #doctest: +ELLIPSIS
+ >>> test_DefU
Char
(-1) #doctest: +ELLIPSIS
Traceback (most recent call last):
...
OverflowError: ...
- >>> test_DefU
Int
(0)
+ >>> test_DefU
Char
(0)
0
- >>> test_DefU
Int
(1)
+ >>> test_DefU
Char
(1)
1
"""
return x