From 65c69a34accabd38b5d916ca29be6d0dcee612d6 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Sat, 16 Mar 2013 20:08:01 -0700 Subject: [PATCH] python 2.4 compatibility --- _pytest/runner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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