unit test nested functions

Benji York benji at benjiyork.com
Sat Jul 23 14:14:38 EDT 2005


Raymond Hettinger wrote:
> [Benji York]
> 
>>Note that when using this technique, f.g will not be bound until after
>>you call the function:
> 
> 
> That is a feature, not a bug.  The inner function isn't even created
> until the outer function is run.

I'm fully aware of that.  I just didn't want the OP get bit by it.
--
Benji York





More information about the Python-list mailing list