idea for testing tools

Bruno Desthuilliers bdesth.quelquechose at free.quelquepart.fr
Wed Feb 7 18:53:36 EST 2007


Jens Theisen a écrit :
> Hello,
> 
> I find it annoying that one has to write
> 
> self.assertEqual(x, y)
> 
> rather than just
> 
> assert x == y
> 
> when writing tests. This is a nuisance in all the programming
> languages I know of (which are not too many).

http://codespeak.net/py/current/doc/test.html#assert-with-the-assert-statement



More information about the Python-list mailing list