[TIP] argv with unitest
Fred Drake
fdrake at gmail.com
Tue Aug 18 06:49:42 PDT 2009
On Tue, Aug 18, 2009 at 8:43 AM, Benji York<benji at benjiyork.com> wrote:
> The way I normally do that is to do all my argv processing in a main
> function which expects argv to be passed in.
This is also similar to Guido's recommended practices, and works well for many.
-Fred
--
Fred L. Drake, Jr. <fdrake at gmail.com>
"Chaos is the score upon which reality is written." --Henry Miller
More information about the testing-in-python
mailing list