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/081064.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/UnlessesGreg Ewing greg.ewing at canterbury.ac.nz
Mon Jul 14 03:05:34 CEST 2008
Ben Finney wrote:

> That's another reason to avoid "assert" in the name: these methods
> *don't* necessarily use the 'assert' statement. Avoiding the
> implication that they do use that is a good thing.

Perhaps some positive alternative such as "verify" could
be used instead.

-- 
Greg
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