43a39d6
diff -up CherryPy-2.3.0/cherrypy/test/webtest.py.py27_exceptions CherryPy-2.3.0/cherrypy/test/webtest.py
43a39d6
--- CherryPy-2.3.0/cherrypy/test/webtest.py.py27_exceptions	2010-08-02 14:27:29.000000000 +0200
43a39d6
+++ CherryPy-2.3.0/cherrypy/test/webtest.py	2010-08-02 14:34:04.000000000 +0200
43a39d6
@@ -251,7 +251,7 @@ class WebCase(TestCase):
43a39d6
                 except (KeyboardInterrupt, SystemExit):
43a39d6
                     raise
43a39d6
                 except:
43a39d6
-                    result.addError(self, self._exc_info())
43a39d6
+                    result.addError(self, sys.exc_info())
43a39d6
                     return
43a39d6
                 
43a39d6
                 ok = 0
43a39d6
@@ -259,18 +259,18 @@ class WebCase(TestCase):
43a39d6
                     testMethod()
43a39d6
                     ok = 1
43a39d6
                 except self.failureException:
43a39d6
-                    result.addFailure(self, self._exc_info())
43a39d6
+                    result.addFailure(self, sys.exc_info())
43a39d6
                 except (KeyboardInterrupt, SystemExit):
43a39d6
                     raise
43a39d6
                 except:
43a39d6
-                    result.addError(self, self._exc_info())
43a39d6
+                    result.addError(self, sys.exc_info())
43a39d6
                 
43a39d6
                 try:
43a39d6
                     self.tearDown()
43a39d6
                 except (KeyboardInterrupt, SystemExit):
43a39d6
                     raise
43a39d6
                 except:
43a39d6
-                    result.addError(self, self._exc_info())
43a39d6
+                    result.addError(self, sys.exc_info())
43a39d6
                     ok = 0
43a39d6
                 if ok:
43a39d6
                     result.addSuccess(self)