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
c89bb013
Commit
c89bb013
authored
Oct 08, 2009
by
Lisandro Dalcin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix failing testcase in Py2 because of long suffix
parent
d93d7348
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
tests/run/ctypedef_int_types_T333.pyx
tests/run/ctypedef_int_types_T333.pyx
+4
-4
No files found.
tests/run/ctypedef_int_types_T333.pyx
View file @
c89bb013
...
...
@@ -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
...
...
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