Lint + changelog

This commit is contained in:
Brendan Abolivier 2020-01-22 12:38:18 +00:00
parent d9a8728b11
commit 6ae0c8db33
No known key found for this signature in database
GPG Key ID: 1E015C145F1916CD
2 changed files with 2 additions and 3 deletions

1
changelog.d/6764.misc Normal file
View File

@ -0,0 +1 @@
Fixup `synapse.rest` to pass mypy.

View File

@ -162,9 +162,7 @@ class MediaRepoTests(unittest.HomeserverTestCase):
def _req(self, content_disposition):
request, channel = self.make_request(
"GET", self.media_id, shorthand=False
)
request, channel = self.make_request("GET", self.media_id, shorthand=False)
request.render(self.download_resource)
self.pump()