diff --git a/testtools/twistedsupport/_runtest.py b/testtools/twistedsupport/_runtest.py index 9992c53b..a343e68a 100644 --- a/testtools/twistedsupport/_runtest.py +++ b/testtools/twistedsupport/_runtest.py @@ -335,7 +335,7 @@ def _run_cleanups(self): exc_info = sys.exc_info() self.case._report_traceback(exc_info) last_exception = exc_info[1] - defer.returnValue(last_exception) + return last_exception def _make_spinner(self): """Make the `Spinner` to be used to run the tests."""