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
62cd5864
Commit
62cd5864
authored
Apr 09, 2008
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
more unicode tests
parent
1fb56b22
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
tests/run/unicodeliterals.pyx
tests/run/unicodeliterals.pyx
+7
-3
No files found.
tests/run/unicodeliterals.pyx
View file @
62cd5864
...
...
@@ -49,13 +49,17 @@ __doc__ = r"""
True
>>> d == u'üÖä'
True
>>> e == u'
\
x03
\
x67
\
xf8
\
uf8d2
Søk ik'
>>> e == u'
\
x03
\
x67
\
xf8
\
uf8d2
Søk ik'
# unescaped by Cython
True
>>> f == u'
\
xf8
'
>>> e == u'
\
\
x03
\
\
x67
\
\
xf8
\
\
uf8d2Søk ik' # unescaped by Python
True
>>> f == u'
\
xf8
' # unescaped by Cython
True
>>> f == u'
\
\
xf8' # unescaped by Python
True
>>> add == u'Søk ik' + u'üÖä' + 'abc'
True
>>> null == u'
\
\
x00' #
doctest needs a double slash here
>>> null == u'
\
\
x00' #
unescaped by Python (required by doctest)
True
"""
...
...
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