mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-01 08:48:01 +00:00
Correct arguments to super()
This was incidentally found when looking at some test failures: super(type, object) is the right invocation, and not the other way around.
This commit is contained in:
parent
88accc23c3
commit
7444d6b7a9
@ -1269,5 +1269,5 @@ class TrialTestCase(_TrialTestCase):
|
|||||||
|
|
||||||
if six.PY2:
|
if six.PY2:
|
||||||
if isinstance(msg, six.text_type):
|
if isinstance(msg, six.text_type):
|
||||||
return super(self, TrialTestCase).fail(msg.encode("utf8"))
|
return super(TrialTestCase, self).fail(msg.encode("utf8"))
|
||||||
return super(self, TrialTestCase).fail(msg)
|
return super(TrialTestCase, self).fail(msg)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user