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
bf7981fb
Commit
bf7981fb
authored
Jul 25, 2012
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Py3 test fix
parent
557b8ed7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
tests/run/carray_slicing.pyx
tests/run/carray_slicing.pyx
+3
-3
No files found.
tests/run/carray_slicing.pyx
View file @
bf7981fb
...
@@ -57,9 +57,9 @@ def slice_charptr_for_loop_c_to_bytes():
...
@@ -57,9 +57,9 @@ def slice_charptr_for_loop_c_to_bytes():
['B', 'C', 'q', 't', 'p']
['B', 'C', 'q', 't', 'p']
"""
"""
cdef
bytes
b
cdef
bytes
b
print
[
b
for
b
in
cstring
[:
3
]
]
print
str
([
b
for
b
in
cstring
[:
3
]
]).
replace
(
" b'"
,
" '"
).
replace
(
"[b'"
,
"['"
)
print
[
b
for
b
in
cstring
[
1
:
5
]
]
print
str
([
b
for
b
in
cstring
[
1
:
5
]
]).
replace
(
" b'"
,
" '"
).
replace
(
"[b'"
,
"['"
)
print
[
b
for
b
in
cstring
[
4
:
9
]
]
print
str
([
b
for
b
in
cstring
[
4
:
9
]
]).
replace
(
" b'"
,
" '"
).
replace
(
"[b'"
,
"['"
)
@
cython
.
test_assert_path_exists
(
"//ForFromStatNode"
,
@
cython
.
test_assert_path_exists
(
"//ForFromStatNode"
,
"//ForFromStatNode//IndexNode"
)
"//ForFromStatNode//IndexNode"
)
...
...
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