Accessing nested functions for testing

Chad Netzer cnetzer at mail.arc.nasa.gov
Tue May 20 19:54:36 EDT 2003


On Tue, 2003-05-20 at 16:38, Erik Max Francis wrote:
> Chad Netzer wrote:
>  So, practically, it has become a non-issue issue.
> 
> Indeed.  I'd go the other way around and say that if you're thinking
> about testing an inner function, then it sounds like that function is
> more than just a trivial implementation detail of the parent function
> and so probably deserves to be a separate function in its own right.

Agreed.  (Did I really say "non-issue issue"?  I'm losing it!)   :-)

Chad







More information about the Python-list mailing list