Skip to content

Commit c532164

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent dbd9f40 commit c532164

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pytest_aiohttp/plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ async def go(
160160
elif isinstance(__param, BaseTestServer):
161161
client = aiohttp_client_cls(__param, **kwargs)
162162
else:
163-
raise ValueError("Unknown argument type: %r" % type(__param))
163+
raise ValueError(f"Unknown argument type: {type(__param)!r}")
164164

165165
await client.start_server()
166166
clients.append(client)

0 commit comments

Comments
 (0)