A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2008-July/081056.html below:

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

[Python-Dev] unittest's redundant assertions: asserts vs. failIf/Unlesses [Python-Dev] unittest's redundant assertions: asserts vs. failIf/UnlessesStephen J. Turnbull stephen at xemacs.org
Mon Jul 14 01:51:27 CEST 2008
Steve Holden writes:

 > "Fail" isn't a negative. As Guido said, it's a description of the test 
 > behavior under particular circumstances.

This is not true, however.  "Fail" is a description of a potentailly
very large class of behaviors.  Knowing that the test failed does not
tell you which of the failure behaviors occurred, only that the
success behavior did not occur.

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

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4