1
0
Fork 0
mirror of https://github.com/element-hq/synapse.git synced 2024-12-22 12:44:30 +03:00

Remove yield

This commit is contained in:
Andrew Morgan 2019-05-03 14:40:44 -07:00
parent e2bc9af798
commit ec67848235

View file

@ -99,9 +99,6 @@ class FederationClientTests(HomeserverTestCase):
# Deferred is still without a result # Deferred is still without a result
self.assertNoResult(test_d) self.assertNoResult(test_d)
# Ensure deferred resolves
yield test_d
# Send it the HTTP response # Send it the HTTP response
res_json = '{ "a": 1 }'.encode('ascii') res_json = '{ "a": 1 }'.encode('ascii')
protocol.dataReceived( protocol.dataReceived(