Skip to content

Commit f0294ad

Browse files
authored
Merge pull request #404 from cjwatson/remove-defer-returnValue
Stop using twisted.internet.defer.returnValue
2 parents 132fd9c + dd001ae commit f0294ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/examples/testing_seq.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def make_a_request(treq):
1818
else:
1919
message = yield response.text()
2020
raise Exception("Got an error from the server: {}".format(message))
21-
defer.returnValue(result)
21+
return result
2222

2323

2424
class MakeARequestTests(SynchronousTestCase):

0 commit comments

Comments
 (0)