unittest and non-.py files
Sybren Stuvel
sybrenUSE at YOURthirdtower.com.imagination
Wed Dec 7 19:11:14 EST 2005
Michael Hoffman enlightened us with:
> Hi. I am trying to use unittest to run a test suite on some
> scripts that do not have a .py extension.
I'd move the functionality of the script into a separate file that
does end in .py, and only put the invocation into the .py-less
script.
Sybren
--
The problem with the world is stupidity. Not saying there should be a
capital punishment for stupidity, but why don't we just take the
safety labels off of everything and let the problem solve itself?
Frank Zappa
More information about the Python-list
mailing list