mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
improve doc, codestyle
This commit is contained in:
parent
6f1206b751
commit
2fb12fbe54
2 changed files with 9 additions and 6 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue