This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Justin.Lebar
Recipients Justin.Lebar, georg.brandl
Date 2010-02-06.04:24:14
SpamBayes Score 0.000633473
Marked as misclassified No
Message-id <1265430256.2.0.586981350141.issue7864@psf.upfronthosting.co.za>
In-reply-to
Content
The documentation for assertTrue/assert_/failUnless reads:

assertTrue(expr, msg=None)
assert_(expr, msg=None)
failUnless(expr, msg=None)
    ...
    Deprecated since version 3.1: failUnless().

The deprecation warning is confusing, since it appears to suggest that failUnless is also deprecated.

Perhaps the last line could read 

  assertTrue and assert_ are deprecated since version 3.1: Use failUnless() instead.

And similarly for the rest of the assertX methods.
History
Date User Action Args
2010-02-06 04:24:16Justin.Lebarsetrecipients: + Justin.Lebar, georg.brandl
2010-02-06 04:24:16Justin.Lebarsetmessageid: <1265430256.2.0.586981350141.issue7864@psf.upfronthosting.co.za>
2010-02-06 04:24:15Justin.Lebarlinkissue7864 messages
2010-02-06 04:24:14Justin.Lebarcreate