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
07567777
Commit
07567777
authored
Jul 16, 2010
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test fix
parent
50b5656a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
tests/run/inop.pyx
tests/run/inop.pyx
+4
-6
No files found.
tests/run/inop.pyx
View file @
07567777
...
...
@@ -197,10 +197,8 @@ def m_unicode_literal(Py_UNICODE a):
cdef
unicode
wide_unicode_character
=
u'
\
U0010FEDC
'
py_wide_unicode_character
=
wide_unicode_character
cdef
unicode
wide_unicode_character_surrogate1
=
u'
\
uDBFF
'
cdef
unicode
wide_unicode_character_surrogate2
=
u'
\
uDEDC
'
py_wide_unicode_character_surrogate1
=
wide_unicode_character_surrogate1
py_wide_unicode_character_surrogate2
=
wide_unicode_character_surrogate2
wide_unicode_character_surrogate1
=
0xDBFF
wide_unicode_character_surrogate2
=
0xDEDC
@
cython
.
test_fail_if_path_exists
(
"//SwitchStatNode"
)
@
cython
.
test_assert_path_exists
(
"//PrimaryCmpNode"
)
...
...
@@ -212,8 +210,8 @@ def m_wide_unicode_literal(Py_UNICODE a):
0
>>> import sys
>>> if sys.maxunicode == 65535:
... m_wide_unicode_literal(
ord(py_wide_unicode_character_surrogate1)
)
... m_wide_unicode_literal(
ord(py_wide_unicode_character_surrogate2)
)
... m_wide_unicode_literal(
py_wide_unicode_character_surrogate1
)
... m_wide_unicode_literal(
py_wide_unicode_character_surrogate2
)
... else:
... m_wide_unicode_literal(ord(py_wide_unicode_character))
... 1
...
...
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