On Tue, Oct 26, 2010 at 7:51 PM, Benjamin Peterson <benja...@python.org> wrote: > Inyeol <inyeol.lee <at> gmail.com> 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. Cheers, Chris -- http://mail.python.org/mailman/listinfo/python-list