💥 Remove: 移除 Python 3.9 支持 (#3860)

This commit is contained in:
呵呵です
2026-02-18 00:11:36 +08:00
committed by GitHub
parent f719a6b41b
commit 63cde5da77
56 changed files with 603 additions and 1144 deletions

View File

@@ -1,4 +1,4 @@
from typing import Any, Optional
from typing import Any
import anyio
from nonebug import App
@@ -123,7 +123,7 @@ async def test_bot_called_api_hook_simple(app: App):
async def called_api_hook(
bot: Bot,
exception: Optional[Exception],
exception: Exception | None,
api: str,
data: dict[str, Any],
result: Any,
@@ -155,7 +155,7 @@ async def test_bot_called_api_hook_mock(app: App):
async def called_api_hook(
bot: Bot,
exception: Optional[Exception],
exception: Exception | None,
api: str,
data: dict[str, Any],
result: Any,
@@ -201,7 +201,7 @@ async def test_bot_called_api_hook_multi_mock(app: App):
async def called_api_hook1(
bot: Bot,
exception: Optional[Exception],
exception: Exception | None,
api: str,
data: dict[str, Any],
result: Any,
@@ -214,7 +214,7 @@ async def test_bot_called_api_hook_multi_mock(app: App):
async def called_api_hook2(
bot: Bot,
exception: Optional[Exception],
exception: Exception | None,
api: str,
data: dict[str, Any],
result: Any,