homepage

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 haridsv
Recipients haridsv, michael.foord, tuben
Date 2010年06月18日.01:43:07
SpamBayes Score 0.067805775
Marked as misclassified No
Message-id <1276825389.45.0.946851207178.issue6966@psf.upfronthosting.co.za>
In-reply-to
Content
Changing unittest.TestCase.failUnlessEqual() to something like this will be very useful:
 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=10, rhs=20)
History
Date User Action Args
2010年06月18日 01:43:09haridsvsetrecipients: + haridsv, tuben, michael.foord
2010年06月18日 01:43:09haridsvsetmessageid: <1276825389.45.0.946851207178.issue6966@psf.upfronthosting.co.za>
2010年06月18日 01:43:07haridsvlinkissue6966 messages
2010年06月18日 01:43:07haridsvcreate

AltStyle によって変換されたページ (->オリジナル) /