Message108075
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) |
|
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 | |
|