improve doc, codestyle

This commit is contained in:
darksidecat 2021-09-01 11:59:21 +03:00
parent 6f1206b751
commit 2fb12fbe54
2 changed files with 9 additions and 6 deletions

View file

@ -82,7 +82,8 @@ class TestDownloadable:
async def test_download_destination_io_bytes(self, work_directory, downloadable):
file = BytesIO()
await downloadable.download(file)
with pytest.deprecated_call():
await downloadable.download(file)
assert len(file.read()) != 0
async def test_download_raise_value_error(self, work_directory, downloadable):