Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/openai/openai-python
/ failing_send
Method
failing_send
tests/test_send_queue.py:61–64 ·
view source on GitHub ↗
(data: str)
Source
from the content-addressed store, hash-verified
59
sent: list[str] = []
60
61
def
failing_send(data: str) -> None:
62
if
data ==
"b"
:
63
raise
RuntimeError(
"send failed"
)
64
sent.append(data)
65
66
with
pytest.raises(RuntimeError, match=
"send failed"
):
67
q.flush_sync(failing_send)
Callers
nothing calls this directly
Calls
2
enqueue
Method · 0.80
append
Method · 0.45
Tested by
no test coverage detected