chore: bump ruff (#1085)
This commit is contained in:
parent
6f43d1f170
commit
9301924f44
3 changed files with 56 additions and 57 deletions
|
|
@ -57,8 +57,7 @@ async def test_send_request_stream_cleanup():
|
|||
|
||||
# Verify that no response streams were leaked
|
||||
assert len(session._response_streams) == initial_stream_count, (
|
||||
f"Expected {initial_stream_count} response streams after request, "
|
||||
f"but found {len(session._response_streams)}"
|
||||
f"Expected {initial_stream_count} response streams after request, but found {len(session._response_streams)}"
|
||||
)
|
||||
|
||||
# Clean up
|
||||
|
|
|
|||
|
|
@ -658,7 +658,7 @@ class TestAuthEndpoints:
|
|||
assert "error" in error_data
|
||||
assert error_data["error"] == "invalid_client_metadata"
|
||||
assert error_data["error_description"] == (
|
||||
"redirect_uris.0: Input should be a valid URL, " "relative URL without a base"
|
||||
"redirect_uris.0: Input should be a valid URL, relative URL without a base"
|
||||
)
|
||||
|
||||
@pytest.mark.anyio
|
||||
|
|
|
|||
|
|
@ -696,7 +696,7 @@ def everything_streamable_http_server(
|
|||
time.sleep(0.1)
|
||||
attempt += 1
|
||||
else:
|
||||
raise RuntimeError(f"Comprehensive StreamableHTTP server failed to start after " f"{max_attempts} attempts")
|
||||
raise RuntimeError(f"Comprehensive StreamableHTTP server failed to start after {max_attempts} attempts")
|
||||
|
||||
yield
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue