Conform to pep8
This commit is contained in:
parent
9fac37588c
commit
d865c5e2b6
|
@ -32,7 +32,9 @@ class SanicTestClient:
|
||||||
|
|
||||||
try:
|
try:
|
||||||
response.json = await response.json()
|
response.json = await response.json()
|
||||||
except (JSONDecodeError, UnicodeDecodeError, aiohttp.ClientResponseError):
|
except (JSONDecodeError,
|
||||||
|
UnicodeDecodeError,
|
||||||
|
aiohttp.ClientResponseError):
|
||||||
response.json = None
|
response.json = None
|
||||||
|
|
||||||
response.body = await response.read()
|
response.body = await response.read()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user