[Python-Dev] unittest's redundant assertions: asserts vs. failIf/Unlesses (original) (raw)
Greg Ewing greg.ewing at canterbury.ac.nz
Mon Jul 14 03:05:34 CEST 2008
- Previous message: [Python-Dev] unittest's redundant assertions: asserts vs. failIf/Unlesses
- Next message: [Python-Dev] unittest's redundant assertions: asserts vs. failIf/Unlesses
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [Python-Dev] unittest's redundant assertions: asserts vs. failIf/Unlesses
- Next message: [Python-Dev] unittest's redundant assertions: asserts vs. failIf/Unlesses
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]