[Python-Dev] unittest's redundant assertions: asserts vs. failIf/Unlesses

Tristan Seligmann mithrandi-python-dev at mithrandi.za.net
Mon Jul 14 01:41:23 CEST 2008


* Stephen J. Turnbull <stephen at xemacs.org> [2008-07-14 08:51:27 +0900]:

> The analogy to the fact that True != not not 10 is telling, I think.

What?

>>> True == (not not 10)
True
-- 
mithrandi, i Ainil en-Balandor, a faer Ambar
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://mail.python.org/pipermail/python-dev/attachments/20080714/94860626/attachment.pgp>


More information about the Python-Dev mailing list