python unit test frame work
Ganesh Pal
ganesh1pal at gmail.com
Thu Dec 10 17:35:57 EST 2015
+python list . sorry I accidentally did a reply to Peter.
On Dec 11, 2015 3:57 AM, "Ganesh Pal" <ganesh1pal at gmail.com> wrote:
>
>
> > Drop the habit to sprinkle sys.exit() all over the place. A well-behaved
> > application has one exit point, at the end of the main module.
>
I was using sys.exit() as the means to stop the execution or terminate the
program. I can't think of an alternative for my case :
I have multiple checks if I don't meet them continuing with the main
program doesn't make sense
Regards,
Ganesh
More information about the Python-list
mailing list