Interaction btw unittest.assertRaises and __getattr__. Bug?
Chris Rebert
clp2 at rebertia.com
Tue Oct 26 22:57:11 EDT 2010
More information about the Python-list mailing list
Tue Oct 26 22:57:11 EDT 2010
- Previous message (by thread): Interaction btw unittest.assertRaises and __getattr__. Bug?
- Next message (by thread): Interaction btw unittest.assertRaises and __getattr__. Bug?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Tue, Oct 26, 2010 at 7:51 PM, Benjamin Peterson <benjamin at 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
- Previous message (by thread): Interaction btw unittest.assertRaises and __getattr__. Bug?
- Next message (by thread): Interaction btw unittest.assertRaises and __getattr__. Bug?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list