Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #100245 > unrolled thread

Re: python unit test frame work

Started byGanesh Pal <ganesh1pal@gmail.com>
First post2015-12-11 04:05 +0530
Last post2015-12-11 04:05 +0530
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: python unit test frame work Ganesh Pal <ganesh1pal@gmail.com> - 2015-12-11 04:05 +0530

#100245 — Re: python unit test frame work

FromGanesh Pal <ganesh1pal@gmail.com>
Date2015-12-11 04:05 +0530
SubjectRe: python unit test frame work
Message-ID<mailman.121.1449786966.12405.python-list@python.org>
+python list .  sorry I accidentally did a reply to Peter.

On Dec 11, 2015 3:57 AM, "Ganesh Pal" <ganesh1pal@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

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web