Re: [Zope-dev] Summary of this week's IRC meeting (2010-04-06)

2010-04-06 Thread Marius Gedminas
On Tue, Apr 06, 2010 at 12:15:41PM -0400, Tres Seaver wrote:
> Some discussion of the general problem of doctests breaking due to exception
> formatting led to a suggestion from Jim Fulton that we implement a testing
> API similar the ``unittest.TestCase.assertRaises``, but with the additional
> feature that it returns the exception value, to permit further assertions
> about the state of that object.

unittest.TestCase.assertRaises gives you access to the exception value
afterwards, starting with Python 2.7.  It's been backported to older
versions of Python and placed on PyPI as unittest2:
http://pypi.python.org/pypi/unittest2

Marius Gedminas
-- 
http://pov.lt/ -- Zope 3 consulting and development


signature.asc
Description: Digital signature
___
Zope-Dev maillist  -  Zope-Dev@zope.org
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 )


Re: [Zope-dev] Summary of this week's IRC meeting (2010-04-06)

2010-04-06 Thread Charlie Clark
Am 06.04.2010, 18:15 Uhr, schrieb Tres Seaver :

> I am attaching this week's summary.

Thanks, Tres. I really like this "bite-size" approach. As Theuni mentioned  
last week we'll also need a way for handling the supersized issues.

Charlie
-- 
Charlie Clark
Managing Director
Clark Consulting & Research
German Office
Helmholtzstr. 20
Düsseldorf
D- 40215
Tel: +49-211-600-3657
Mobile: +49-178-782-6226
___
Zope-Dev maillist  -  Zope-Dev@zope.org
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 )