Fix tests to work with new version of aiohttp (>= 3.0)

This commit is contained in:
grossmj committed 2018-10-17 17:32:10 +07:00
1 parent 9ae9209881
commit ab8dc52ece
18 files changed
+218 -184

No files matched your search

+1 -1
View File
@@ -144,7 +144,7 @@ class Response(aiohttp.web.Response):
if not data:
break
await self.write(data)
await self.drain()
# await self.drain()
except FileNotFoundError:
raise aiohttp.web.HTTPNotFound()