Message98933
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. |
|
Date |
User |
Action |
Args |
2010-02-06 04:24:16 | Justin.Lebar | set | recipients:
+ Justin.Lebar, georg.brandl |
2010-02-06 04:24:16 | Justin.Lebar | set | messageid: <1265430256.2.0.586981350141.issue7864@psf.upfronthosting.co.za> |
2010-02-06 04:24:15 | Justin.Lebar | link | issue7864 messages |
2010-02-06 04:24:14 | Justin.Lebar | create | |
|