[Checkins] SVN: zope.testrunner/trunk/src/zope/testrunner/testrunner-ex/unicode.txt Better test + description
Lennart Regebro
regebro at gmail.com
Mon Apr 26 17:44:49 EDT 2010
Log message for revision 111458:
Better test + description
Changed:
U zope.testrunner/trunk/src/zope/testrunner/testrunner-ex/unicode.txt
-=-
Modified: zope.testrunner/trunk/src/zope/testrunner/testrunner-ex/unicode.txt
===================================================================
--- zope.testrunner/trunk/src/zope/testrunner/testrunner-ex/unicode.txt 2010-04-26 21:44:28 UTC (rev 111457)
+++ zope.testrunner/trunk/src/zope/testrunner/testrunner-ex/unicode.txt 2010-04-26 21:44:49 UTC (rev 111458)
@@ -2,20 +2,19 @@
Errors Containing Unicode
=========================
-There was a unicode bug. Create a function which returns a unicode string with
-non us-ascii characters::
+There was a unicode bug. When a function returned unicode some internal
+state switched. This broke any further test not returning unicode but a plain
+string with unicode characters. Make sure this works now::
>>> def get_unicode():
... return u'foo \u2014 bar'
-There was another unicode bug. When a function returned unicode some internal
-state switched. This broke any further test not returning unicode but a plain
-string with unicode characters. Make sure this works now::
-
>>> get_unicode()
u'foo \u2014 bar'
+
+ >>> 'foo \xe9'
+ 'foo \xe9'
-
Get some normal output as well::
>>> 'xyz'
More information about the checkins
mailing list