Message98933
| 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: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 |
|