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.