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
83c9318b
Commit
83c9318b
authored
Aug 21, 2009
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Py3 test fixes
parent
72f162a4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
13 deletions
+3
-13
tests/run/ct_DEF.pyx
tests/run/ct_DEF.pyx
+3
-13
No files found.
tests/run/ct_DEF.pyx
View file @
83c9318b
...
...
@@ -7,9 +7,7 @@ __doc__ = u"""
True
>>> i2() == 0x42
True
>>> i3() == 042
True
>>> i4() == -0x42
>>> i3() == -0x42
True
>>> l()
666
...
...
@@ -30,9 +28,7 @@ __doc__ = u"""
import
sys
if
sys
.
version_info
[
0
]
<
3
:
__doc__
=
__doc__
.
replace
(
u" b'"
,
u" '"
)
import
sys
if
sys
.
version_info
[
0
]
>=
3
:
else
:
__doc__
=
__doc__
.
replace
(
u" 042"
,
u" 0o42"
)
DEF
TUPLE
=
(
1
,
2
,
u"buckle my shoe"
)
...
...
@@ -42,8 +38,7 @@ DEF CHAR = c'x'
DEF
INT0
=
-
1
DEF
INT1
=
42
DEF
INT2
=
0x42
DEF
INT3
=
042
DEF
INT4
=
-
0x42
DEF
INT3
=
-
0x42
DEF
LONG
=
666L
DEF
FLOAT
=
12.5
DEF
STR
=
"spam"
...
...
@@ -79,11 +74,6 @@ def i3():
i
=
INT3
return
i
def
i4
():
cdef
int
i
i
=
INT4
return
i
def
l
():
cdef
long
l
l
=
LONG
...
...
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