mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
chore: rm unused record
This commit is contained in:
parent
4c91df243d
commit
008e64ea9a
1 changed files with 1 additions and 1 deletions
|
|
@ -187,7 +187,7 @@ class TestDispatcher:
|
|||
async def test_process_update_empty(self, bot: MockedBot):
|
||||
dispatcher = Dispatcher()
|
||||
|
||||
with pytest.warns(RuntimeWarning, match="Detected unknown update type") as record:
|
||||
with pytest.warns(RuntimeWarning, match="Detected unknown update type"):
|
||||
result = await dispatcher._process_update(bot=bot, update=Update(update_id=42))
|
||||
assert not result
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue