diff options
author | Mathieu Velten <mathieuv@matrix.org> | 2022-11-22 17:21:28 +0100 |
---|---|---|
committer | Mathieu Velten <mathieuv@matrix.org> | 2022-11-22 18:10:08 +0100 |
commit | adc79037629af307dab5044029d02110dd6edb69 (patch) | |
tree | d14470316002ae87829745636e75c1029cb9418e /tests | |
parent | Add type ignore to calls of fcts using wrap_as_background_process (diff) | |
download | synapse-adc79037629af307dab5044029d02110dd6edb69.tar.xz |
Add type ignore unused-awaitable to ensureDeffered calls
Diffstat (limited to 'tests')
-rw-r--r-- | tests/http/test_matrixfederationclient.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/http/test_matrixfederationclient.py b/tests/http/test_matrixfederationclient.py index be9eaf34e8..56fb34a1c3 100644 --- a/tests/http/test_matrixfederationclient.py +++ b/tests/http/test_matrixfederationclient.py @@ -451,7 +451,7 @@ class FederationClientTests(HomeserverTestCase): self.failureResultOf(d) def test_client_sends_body(self): - defer.ensureDeferred( + defer.ensureDeferred( # type: ignore[unused-awaitable] self.cl.post_json( "testserv:8008", "foo/bar", timeout=10000, data={"a": "b"} ) |