mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
fix: 3.9- type support
This commit is contained in:
parent
333d13fb2e
commit
a741b3cf73
1 changed files with 3 additions and 1 deletions
|
|
@ -1,3 +1,5 @@
|
|||
from typing import Dict
|
||||
|
||||
import pytest
|
||||
|
||||
from aiogram.types import ReplyKeyboardRemove
|
||||
|
|
@ -17,5 +19,5 @@ class TestReplyKeyboardRemove:
|
|||
"kwargs,expected",
|
||||
[[{}, True], [{"remove_keyboard": True}, True]],
|
||||
)
|
||||
def test_remove_keyboard_values(self, kwargs: dict[str, bool], expected: bool):
|
||||
def test_remove_keyboard_values(self, kwargs: Dict[str, bool], expected: bool):
|
||||
assert ReplyKeyboardRemove(**kwargs).remove_keyboard is expected
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue