Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #100245
| From | Ganesh Pal <ganesh1pal@gmail.com> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: python unit test frame work |
| Date | 2015-12-11 04:05 +0530 |
| Message-ID | <mailman.121.1449786966.12405.python-list@python.org> (permalink) |
| References | <CACT3xuUOrbdkiEDkDMcVxCO+td4setJMb2TamW5te3FQK8oL0g@mail.gmail.com> <n4c706$g88$1@ger.gmane.org> <CACT3xuUzRn5Sq8V5zqLYx-QFuKkTKJHvcJGLTT9HLSTKPBL_tw@mail.gmail.com> <CACT3xuWxoQdg4P_5GCGVLXEWcDk09sFoROuZ8=Ukox42_kMc_w@mail.gmail.com> |
+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
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: python unit test frame work Ganesh Pal <ganesh1pal@gmail.com> - 2015-12-11 04:05 +0530
csiph-web