On 07/06/2010 01:04 PM, Charlie Clark wrote:
>  In the specific zope.formlib test we have a doctest
> embedded within another:
>       >>>  MyForm(None, request)() # doctest: +NORMALIZE_WHITESPACE +ELLIPSIS
>       There were errors:
>       (u'Invalid floating point data',
>        <exceptions.ValueError instance at ...>)

What do you mean, a doctest embedded within another? I'm probably 
missing something.

> Furthermore, while it's great that form.txt actually runs I wasn't aware
> that it contained any additional tests that are not already run and I've
> always treated it as testable documentation not as an integral part of the
> formlib tests. But I'm ready to be believe this is a large misconception
> on my part.

I follow the principle that all testable stuff should actually be run 
during the tests - just in case. :)



Zope-Dev maillist  -  Zope-Dev@zope.org
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope )

Reply via email to