Message108075
| Author |
haridsv |
| Recipients |
haridsv, michael.foord, tuben |
| Date |
2010年06月18日.01:44:35 |
| SpamBayes Score |
0.07426514 |
| Marked as misclassified |
No |
| Message-id |
<1276825477.12.0.951688242432.issue6966@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Oops... the dict part should have been "dict(lhs=first, rhs=second)":
def failUnlessEqual(self, first, second, msg=None):
"""Fail if the two objects are unequal as determined by the '=='
operator. Argument msg could optionally include string format
operators named "lhs" and "rhs" (e.g., "%(lhs)r")
"""
if not first == second:
raise self.failureException, \
(msg or "%(lhs)r != %(rhs)r") % dict(lhs=first, rhs=second) |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2010年06月18日 01:44:37 | haridsv | set | recipients:
+ haridsv, tuben, michael.foord |
| 2010年06月18日 01:44:37 | haridsv | set | messageid: <1276825477.12.0.951688242432.issue6966@psf.upfronthosting.co.za> |
| 2010年06月18日 01:44:35 | haridsv | link | issue6966 messages |
| 2010年06月18日 01:44:35 | haridsv | create |
|