diff --git a/tests/conftest.py b/tests/conftest.py index ac63d41..beda6da 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -50,7 +50,7 @@ def server_url(server: BaseWSGIServer) -> URL: @pytest.fixture(scope="session", autouse=True) -async def after_nonebot_init(after_nonebot_init: None, server_url: URL): # noqa: PT004 +def after_nonebot_init(after_nonebot_init: None, server_url: URL): with pytest.MonkeyPatch.context() as m: def _get_api_base(*args, **kwargs):