doctest, unittest, or if __name__='__main__'
Paul Rubin
http
Mon Mar 27 23:44:34 EST 2006
"lollipopenator at gmail.com" <lollipopenator at gmail.com> writes:
> I have noticed some distinctly funny and confused feelings I get when
> using the unittest module, stuff that feels clunky and odd about how it
> is set-up, however I thought that this was just due to *my personal*
> lack of understanding of the deep magic and sophisticated design
> patterns used in this module!
>
> If it turns out to be 'unpythonic'
The unpythonicness stems from it being basically a reimplementation of
JUnit, which was designed for use with Java.
More information about the Python-list
mailing list