mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-20 17:52:50 +00:00
Make helper method compatible with other unittests
The msg keyword argument is overly precise. testtools reasonably calls it `message` instead.
This commit is contained in:
parent
cb9ad3faa5
commit
8593bf1b1c
@ -83,8 +83,8 @@ def flip_one_bit(s, offset=0, size=None):
|
||||
|
||||
class ReallyEqualMixin:
|
||||
def failUnlessReallyEqual(self, a, b, msg=None):
|
||||
self.failUnlessEqual(a, b, msg=msg)
|
||||
self.failUnlessEqual(type(a), type(b), msg="a :: %r, b :: %r, %r" % (a, b, msg))
|
||||
self.assertEqual(a, b, msg)
|
||||
self.assertEqual(type(a), type(b), "a :: %r, b :: %r, %r" % (a, b, msg))
|
||||
|
||||
|
||||
class NonASCIIPathMixin:
|
||||
|
Loading…
x
Reference in New Issue
Block a user