Skip to content

Commit b210422

Browse files
Apply suggestion from @gemini-code-assist[bot]
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent b7ac902 commit b210422

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

tests/client/test_errors.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,8 +259,7 @@ def test_repr(self) -> None:
259259
response = self._make_error_response(-32601, 'Method not found')
260260
error = A2AClientJSONRPCError(response)
261261
result = repr(error)
262-
assert result.startswith('A2AClientJSONRPCError(')
263-
assert result.endswith(')')
262+
assert result == f'A2AClientJSONRPCError({response.error!r})'
264263

265264
def test_inheritance(self) -> None:
266265
"""Test that A2AClientJSONRPCError inherits from A2AClientError."""

0 commit comments

Comments
 (0)