Re: Python 2.7 and the ZTK - three test failures
Martijn Faassen <[email protected]>
| Newsgroups | gmane.comp.web.zope.devel |
|---|---|
| Message-ID | <[email protected]> |
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 _______________________________________________ Zope-Dev maillist - [email protected] https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )