Re: [Checkins] SVN: z3c.form/trunk/src/z3c/form/browser/README.txt This control sequence is hard to parse and unnecessary.

Stephan Richter <[email protected]>
Newsgroups gmane.comp.web.zope.zope3.cvs
Message-ID <200809080759.17039.srichter__34831.1794027269$1220886120$gmane$org@cosmos.phy.tufts.edu>
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"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.