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
self.assertNoResult(test_d)
# Ensure deferred resolves
yield test_d
# Send it the HTTP response
res_json = '{ "a": 1 }'.encode('ascii')
protocol.dataReceived(