Interaction btw unittest.assertRaises and __getattr__. Bug?

Chris Rebert clp2 at
Wed Oct 27 04:57:11 CEST 2010

On Tue, Oct 26, 2010 at 7:51 PM, Benjamin Peterson <benjamin at> wrote:
> Inyeol <inyeol.lee <at>> writes:
>> or am I missing something obvious?
> The attribute access is evaluated before the call to assertRaises, so unittest
> never has a
> cache to cache it.

or rather, "chance to catch it."

Seems there were 2 typos.


More information about the Python-list mailing list