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
78f82600
Commit
78f82600
authored
Jul 23, 2010
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
safety fix for unicode literals test - otherwise fails to print on some platforms
parent
8f8ef5cd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
tests/run/unicodeliterals.pyx
tests/run/unicodeliterals.pyx
+3
-1
No files found.
tests/run/unicodeliterals.pyx
View file @
78f82600
...
...
@@ -74,7 +74,9 @@ __doc__ = br"""
if
sys
.
version_info
>=
(
2
,
6
):
# this doesn't work well in older Python versions
__doc__
+=
u"""
\
>>> wide_literal == u'
\
U00101234
' # unescaped by Cython
>>> expected = u'
\
U00101234
' # unescaped by Cython
>>> if wide_literal == expected: print True
... else: print repr(wide_literal), repr(expected)
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