##// END OF EJS Templates
Update nose fix to avoid a python 2.6 deprecation warning on exc.message
Fernando Perez -
Show More
@@ -460,7 +460,7 b' class DocTestCase(doctests.DocTestCase):'
460 try:
460 try:
461 super(DocTestCase, self).tearDown()
461 super(DocTestCase, self).tearDown()
462 except AttributeError, exc:
462 except AttributeError, exc:
463 if exc.message != self._result_var:
463 if exc.args[0] != self._result_var:
464 raise
464 raise
465
465
466
466
General Comments 0
You need to be logged in to leave comments. Login now