Re: [Zope-dev] Python 2.7 and the ZTK - three test failures

2010-07-06 Thread Wichert Akkerman
On 2010-7-5 23:08, Hanno Schlichting wrote: Hi there, with Python 2.7 final being released, I ran the ZTK tests against it. zope.exceptions, zope.formlib and zope.proxy all have one test output related failure. We seem to have a lot of problems with doctests breaking due to changes in

Re: [Zope-dev] Python 2.7 and the ZTK - three test failures

2010-07-06 Thread Martijn Faassen
On 07/06/2010 09:46 AM, Wichert Akkerman wrote: On 2010-7-5 23:08, Hanno Schlichting wrote: Hi there, with Python 2.7 final being released, I ran the ZTK tests against it. zope.exceptions, zope.formlib and zope.proxy all have one test output related failure. We seem to have a lot of

Re: [Zope-dev] Python 2.7 and the ZTK - three test failures

2010-07-06 Thread Charlie Clark
Am 06.07.2010, 12:23 Uhr, schrieb Martijn Faassen faas...@startifact.com: While I acknowledge its fragility, I do like the way doctests express exceptions quite a lot, so I'd prefer something that kept them like that. We've used normalization in the past, so if core Python exception messages

Re: [Zope-dev] Python 2.7 and the ZTK - three test failures

2010-07-06 Thread Martijn Faassen
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',

Re: [Zope-dev] Python 2.7 and the ZTK - three test failures

2010-07-06 Thread Charlie Clark
Am 06.07.2010, 13:12 Uhr, schrieb Martijn Faassen faas...@startifact.com: What do you mean, a doctest embedded within another? I'm probably missing something. No, it's probably me getting the explicit doctest call wrong. It looks to my novice eyes like print statement is being passed to a

Re: [Zope-dev] Python 2.7 and the ZTK - three test failures

2010-07-06 Thread Martijn Faassen
On 07/06/2010 01:27 PM, Charlie Clark wrote: Am 06.07.2010, 13:12 Uhr, schrieb Martijn Faassenfaas...@startifact.com: What do you mean, a doctest embedded within another? I'm probably missing something. No, it's probably me getting the explicit doctest call wrong. It looks to my novice eyes

Re: [Zope-dev] Python 2.7 and the ZTK - three test failures

2010-07-06 Thread Hanno Schlichting
Hi again. On Mon, Jul 5, 2010 at 11:08 PM, Hanno Schlichting ha...@hannosch.eu wrote: with Python 2.7 final being released, I ran the ZTK tests against it. zope.exceptions, zope.formlib and zope.proxy all have one test output related failure. I fixed all of those and released new versions.

[Zope-dev] Python 2.7 and the ZTK - three test failures

2010-07-05 Thread Hanno Schlichting
Hi there, with Python 2.7 final being released, I ran the ZTK tests against it. zope.exceptions, zope.formlib and zope.proxy all have one test output related failure. RestrictedPython will need a security review. Any help with those appreciated, Hanno Full test output: Running