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
Boxiang Sun
cython
Commits
f40f8078
Commit
f40f8078
authored
Aug 10, 2008
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Py3 test fixes
parent
1d03a4b0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
tests/run/strescapes.pyx
tests/run/strescapes.pyx
+10
-10
No files found.
tests/run/strescapes.pyx
View file @
f40f8078
__doc__
=
u"""
>>> py_strings = [
... '
\
\
x1234',
... '
\
\
x0A12
\
\
x0C34',
... '
\
\
x0A57',
... 'abc
\
\
x12def',
...
b
'
\
\
x1234',
...
b
'
\
\
x0A12
\
\
x0C34',
...
b
'
\
\
x0A57',
...
b
'abc
\
\
x12def',
... u'
\
\
u1234',
... u'
\
\
U00041234',
... b'
\
\
u1234',
...
...
@@ -18,15 +18,15 @@ __doc__ = u"""
import
sys
if
sys
.
version_info
[
0
]
<
3
:
__doc__
=
__doc__
.
replace
(
" b'"
,
" '"
)
__doc__
=
__doc__
.
replace
(
u" b'"
,
u
" '"
)
else
:
__doc__
=
__doc__
.
replace
(
" u'"
,
" '"
)
__doc__
=
__doc__
.
replace
(
u" u'"
,
u
" '"
)
c_strings
=
[
'
\
x12
34'
,
'
\
x0A
12
\
x0C
34'
,
'
\
x0A
57'
,
'abc
\
x12
def'
,
b
'
\
x12
34'
,
b
'
\
x0A
12
\
x0C
34'
,
b
'
\
x0A
57'
,
b
'abc
\
x12
def'
,
u'
\
u1234
'
,
u'
\
U00041234
'
,
b'
\
u1234
'
,
...
...
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