MCPcopy Create free account
hub / github.com/anthropics/anthropic-sdk-python / assert_empty_iter

Function assert_empty_iter

tests/decoders/test_jsonl.py:74–76  ·  view source on GitHub ↗
(decoder: JSONLDecoder[Any] | AsyncJSONLDecoder[Any])

Source from the content-addressed store, hash-verified

72
73
74async def assert_empty_iter(decoder: JSONLDecoder[Any] | AsyncJSONLDecoder[Any]) -> None:
75 with pytest.raises((StopAsyncIteration, RuntimeError)):
76 await iter_next(decoder)
77
78
79def make_jsonl_iterator(

Callers 1

test_basicFunction · 0.70

Calls 1

iter_nextFunction · 0.70

Tested by

no test coverage detected