Emanuele D'Arrigo:
>I can fragment the code of the original method into one public method and a 
>few private support methods.<

Python also support nested functions, that you can put into your
method. The problem is that often unit test functions aren't able to
test nested functions.


A question for other people: Can Python change a little to allow
nested functions to be tested? I think this may solve some of my
problems.

Bye,
bearophile
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to