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
f17dc17f
Commit
f17dc17f
authored
Jul 07, 2020
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve test output in case of failures.
parent
94a4c904
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
tests/run/unicodeliterals.pyx
tests/run/unicodeliterals.pyx
+5
-5
No files found.
tests/run/unicodeliterals.pyx
View file @
f17dc17f
...
@@ -86,15 +86,15 @@ __doc__ = br"""
...
@@ -86,15 +86,15 @@ __doc__ = br"""
True
True
>>> h == u'
\
\
ud800' # unescaped by Python (required by doctest)
>>> h == u'
\
\
ud800' # unescaped by Python (required by doctest)
True
True
>>> p == (u'
\
\
ud800
\
\
udc00' if sys.maxunicode == 1114111 else u'
\
\
U00010000') # unescaped by Python (required by doctest)
>>> p == (u'
\
\
ud800
\
\
udc00' if sys.maxunicode == 1114111 else u'
\
\
U00010000')
or p
# unescaped by Python (required by doctest)
True
True
>>> q == u'
\
\
udc00
\
\
ud800' # unescaped by Python (required by doctest)
>>> q == u'
\
\
udc00
\
\
ud800'
or q
# unescaped by Python (required by doctest)
True
True
>>> k == u'
\
\
N{SNOWMAN}' == u'
\
\
u2603'
>>> k == u'
\
\
N{SNOWMAN}' == u'
\
\
u2603'
or k
True
True
>>> m == u'abc
\
\
\
\
xf8
\
\
\
\
t
\
\
u00f8
\
\
U000000f8' # unescaped by Python (required by doctest)
>>> m == u'abc
\
\
\
\
xf8
\
\
\
\
t
\
\
u00f8
\
\
U000000f8'
or m
# unescaped by Python (required by doctest)
True
True
>>> add == u'Søk ik' + u'üÖä' + 'abc'
>>> add == u'Søk ik' + u'üÖä' + 'abc'
or add
True
True
>>> null == u'
\
\
x00' # unescaped by Python (required by doctest)
>>> null == u'
\
\
x00' # unescaped by Python (required by doctest)
True
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