[Pytest-commit] commit/pytest: gutworth: python 2.4 compatibility

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Sun Mar 17 04:11:11 CET 2013


1 new commit in pytest:

https://bitbucket.org/hpk42/pytest/commits/8838ca6ac79e/
changeset:   8838ca6ac79e
user:        gutworth
date:        2013-03-17 04:08:01
summary:     python 2.4 compatibility
affected #:  1 file

diff -r 1944bf94e4648184bddcb5bbbbe8c02bcecd2184 -r 8838ca6ac79e51b133e8a64ec209909ea37cc4c5 _pytest/runner.py
--- a/_pytest/runner.py
+++ b/_pytest/runner.py
@@ -364,7 +364,7 @@
         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

Repository URL: https://bitbucket.org/hpk42/pytest/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.


More information about the pytest-commit mailing list