test(responses): drop explanatory comment from flex status mapping test

This commit is contained in:
Mrinal Chanshetty 2026-11-05 21:26:35 -08:00
parent c48c7004f3
commit 7faa255068

View file

@ -85,8 +85,6 @@ def _make_error_chunk(error_type: str, code: str, message: str = "err") -> Error
),
)
def test_streamed_flex_unavailable_maps_to_429(error_type: str | None, error_code: str | None) -> None:
# OpenAI returns 429 for flex-capacity exhaustion on non-streamed requests; the streamed
# /v1/responses error event must map to 429 as well, not fall through to 500 (#49736).
assert _status_code_for_error_fields(error_type, error_code) == 429