Unittest - How do I code lots of simple tests
Jeremy Fincher
tweedgeezer at hotmail.com
Wed Oct 22 00:48:26 EDT 2003
Ian Bicking <ianb at colorstudy.com> wrote in message news:<mailman.319.1066774834.2192.python-list at python.org>...
> (And it uses double-underscore variables, like it's just
> *trying* to piss me off! Double-underscore variables are so arrogant
> and patronizing.
Don't look at it like that. Double-underscore variables are for
averting namespace problems, not for protection. Unittest uses them
not to protect itself, but to keep from stomping all over your
namespace when you subclass it. In that way, it's very much built
with subclassing in mind.
Jeremy
More information about the Python-list
mailing list