[Michael Hoffman]
>>Hi. I am trying to use unittest to run a test suite on some
>>scripts that do not have a .py extension.
[Sybren Stuvel]
> 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.
That's what I
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 p