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
ec32142f
Commit
ec32142f
authored
May 31, 2015
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix composite fused types test in Py3
parent
de9b270f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
tests/run/fused_types.pyx
tests/run/fused_types.pyx
+3
-2
No files found.
tests/run/fused_types.pyx
View file @
ec32142f
...
...
@@ -351,10 +351,11 @@ def test_index_fused_args(cython.floating f, ints_t i):
"""
_test_index_fused_args
[
cython
.
floating
,
ints_t
](
f
,
i
)
def
test_composite
(
fused_composite
x
):
"""
>>>
test_composite('a'
)
'a'
>>>
print(test_composite(b'a').decode('ascii')
)
a
>>> test_composite(3)
6
>>> test_composite(3.0)
...
...
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