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:
Sajith Sasidharan 2020-05-28 13:42:55 -04:00 committed by Sajith Sasidharan
parent 88accc23c3
commit 7444d6b7a9

View File

@ -1269,5 +1269,5 @@ class TrialTestCase(_TrialTestCase):
if six.PY2:
if isinstance(msg, six.text_type):
return super(self, TrialTestCase).fail(msg.encode("utf8"))
return super(self, TrialTestCase).fail(msg)
return super(TrialTestCase, self).fail(msg.encode("utf8"))
return super(TrialTestCase, self).fail(msg)