Commit f17dc17f authored by Stefan Behnel's avatar Stefan Behnel

Improve test output in case of failures.

parent 94a4c904
...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment