diff --git a/_pytest/runner.py b/_pytest/runner.py index 24abfb76b..6014d6d9d 100644 --- a/_pytest/runner.py +++ b/_pytest/runner.py @@ -364,7 +364,7 @@ class OutcomeException(Exception): contain info about test and collection outcomes. """ def __init__(self, msg=None, pytrace=True): - super(OutcomeException, self).__init__(msg) + Exception.__init__(self, msg) self.msg = msg self.pytrace = pytrace