[Zope3-checkins] [Checkins] SVN: z3c.form/trunk/src/z3c/form/browser/README.txt This control sequence is hard to parse and unnecessary.
Stephan Richter
srichter at cosmos.phy.tufts.edu
Mon Sep 8 10:59:16 EDT 2008
On Monday 08 September 2008, Malthe Borch wrote:
> Modified: z3c.form/trunk/src/z3c/form/browser/README.txt
> ===================================================================
> --- z3c.form/trunk/src/z3c/form/browser/README.txt 2008-09-08 10:56:54
> UTC (rev 90940) +++
> z3c.form/trunk/src/z3c/form/browser/README.txt 2008-09-08 11:10:38 UTC
> (rev 90941) @@ -224,7 +224,7 @@
> Bytes
> -----
>
> - >>> field = zope.schema.Bytes(default='\10\45\n\32')
> + >>> field = zope.schema.Bytes(default='Default bytes')
> >>> widget = setupWidget(field)
> >>> widget.update()
>
> @@ -238,8 +238,8 @@
> <input type="file" id="foo" name="bar" class="file-widget required
> bytes-field" />
> >>> widget.mode = interfaces.DISPLAY_MODE
> - >>> widget.render()
> - u'<span id="foo" class="file-widget required
> bytes-field">\x08%\n\x1a</span>\n' + >>> widget.render().strip('\n')
> + u'<span id="foo" class="file-widget required bytes-field">Default
> bytes</span>'
Hey Malthe, you weakened the test a lot by not having non-ASCII characters in
the test now. Why did you troubles with that?
Regards,
Stephan
--
Stephan Richter
Web Software Design, Development and Training
Google me. "Zope Stephan Richter"
More information about the Zope3-Checkins
mailing list