From e6fe2e2c1aa7008b15bf933d3e912d2a7cda4547 2009-08-04 16:56:25 From: Brian Granger Date: 2009-08-04 16:56:25 Subject: [PATCH] Merging -r 1198 from lp:ipython. --- diff --git a/IPython/testing/plugin/ipdoctest.py b/IPython/testing/plugin/ipdoctest.py index 85e4494..47ccb77 100644 --- a/IPython/testing/plugin/ipdoctest.py +++ b/IPython/testing/plugin/ipdoctest.py @@ -461,7 +461,7 @@ class DocTestCase(doctests.DocTestCase): try: super(DocTestCase, self).tearDown() except AttributeError, exc: - if exc.message != self._result_var: + if exc.args[0] != self._result_var: raise