Re: [Zope-dev] zope.testing.doctest bug

2008-08-29 Thread Chris Withers
Benji York wrote: For the forked doctest in zope.testing, the Zope 3 project's bug tracker in Launchpad would be appropriate. https://bugs.edge.launchpad.net/zope.testing/+bug/262578 I suspect Python's doctest has the same bug; checking that and reporting the bug to them would be good too.

[Zope-dev] zope.testing.doctest bug

2008-08-28 Thread Chris Withers
Hi All, Here's an example from a python interpretter session: Python 2.4.4 (#71, Oct 18 2006, 08:34:43) [MSC v.1310 32 bit (Intel)] on win32 Type help, copyright, credits or license for more information. def test(): ... print hello ... raise Exception() ... test() hello Traceback (most

Re: [Zope-dev] zope.testing.doctest bug

2008-08-28 Thread Benji York
On Thu, Aug 28, 2008 at 6:35 AM, Chris Withers [EMAIL PROTECTED] wrote: The problem is that the function prints output before raising the exception. If I take the printed output away, the doctest passes fine. However, especially with dumym fixtures common in doctests, that printed output needs