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
parent 538503c0f8
commit cf4b3ba008

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)