unit test nested functions

Andy spam at be.gone
Sat Jul 23 03:08:32 EDT 2005


How can you unit test nested functions?  Or do you have to pull them out to 
unit test them, which basically means I will never use nested functions.

Also, same thing with private member functions protected by __.  Seems like 
there is a conflict there between using these features and unit testing.

Andy





More information about the Python-list mailing list