Re: [Tutor] unittest decorators

2014-04-04 Thread Albert-Jan Roskam
> From: Peter Otten <__pete...@web.de> >To: tutor@python.org >Sent: Thursday, April 3, 2014 3:13 PM >Subject: Re: [Tutor] unittest decorators > > >Albert-Jan Roskam wrote: > >> The unittest module has some really han

Re: [Tutor] unittest decorators

2014-04-03 Thread Peter Otten
Albert-Jan Roskam wrote: > The unittest module has some really handy decorators: @unittest.skip > and @unittest.skipIf. I use the former for temporary TODO or FIXME things, > but I use the latter for a more permanent thing: > @unittest.skipif(sys.version_info()[0] > 2). Yet, in the test summary yo