From 03cc5d589de0fa306f57b4ff2fd9bef85f05c372 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 29 Jul 2024 16:29:01 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- pytest_aiohttp/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pytest_aiohttp/plugin.py b/pytest_aiohttp/plugin.py index 68c8ad8..31b26fa 100644 --- a/pytest_aiohttp/plugin.py +++ b/pytest_aiohttp/plugin.py @@ -160,7 +160,7 @@ async def go( elif isinstance(__param, BaseTestServer): client = aiohttp_client_cls(__param, **kwargs) else: - raise ValueError("Unknown argument type: %r" % type(__param)) + raise ValueError(f"Unknown argument type: {type(__param)!r}") await client.start_server() clients.append(client)