diff --git a/tests/test_utils/test_chat_action.py b/tests/test_utils/test_chat_action.py index 4ac4f3c1..71010e29 100644 --- a/tests/test_utils/test_chat_action.py +++ b/tests/test_utils/test_chat_action.py @@ -25,13 +25,7 @@ class TestChatActionSender: loop.call_soon(sender._close_event.set) start = time.monotonic() await sender._wait(1) - assert time.monotonic() - start < 1 - - async def test_initial_sleep(self, bot: Bot): - initial_sleep = 1.0 - start = time.monotonic() - async with ChatActionSender.typing(bot=bot, chat_id=42, initial_sleep=initial_sleep): - assert time.monotonic() - start >= initial_sleep + assert time.monotonic() - start >= 1 @pytest.mark.parametrize( "action",