Skip to content

Commit

Permalink
Merge pull request #413 from cjwatson/remove-defer-returnValue
Browse files Browse the repository at this point in the history
Stop using twisted.internet.defer.returnValue
  • Loading branch information
cjwatson authored Dec 10, 2024
2 parents 8a2c0a0 + 4d99a25 commit 9961a26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testtools/twistedsupport/_runtest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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."""
Expand Down

0 comments on commit 9961a26

Please sign in to comment.