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

Jeffrey Yasskin jyasskin at gmail.com
Thu Mar 20 01:16:01 CET 2008


On Wed, Mar 19, 2008 at 2:15 PM,  <glyph at divmod.com> wrote:
>
>  On 02:21 pm, murman at gmail.com wrote:
>  >>OTOH, I'd rather there be OOWTDI so whatever the consensus is is fine
>  >>with me.
>  >
>  >This strikes me as a gratuitous API change of the kind Guido was
>  >warning about in his recent post: "Don't change your APIs incompatibly
>  >when porting to Py3k"
>
>  I agree emphatically.  Actually I think this is the most extreme case.
>  The unit test stuff should be as stable as humanly possible between 2
>  and 3, moreso than any other library.

This is convincing for me. Move my +1 back to 3.1.

-- 
Namasté,
Jeffrey Yasskin


More information about the Python-Dev mailing list