[Zope-dev] Python 2.7 and the ZTK - three test failures
Martijn Faassen
faassen at startifact.com
Tue Jul 6 07:12:31 EDT 2010
Hey,
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. :)
Regards,
Martijn
More information about the Zope-Dev
mailing list