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

Function assert_empty_iter

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

Source from the content-addressed store, hash-verified

178
179
180async def assert_empty_iter(decoder: JSONLDecoder[Any] | AsyncJSONLDecoder[Any]) -> None:
181 with pytest.raises((StopAsyncIteration, RuntimeError)):
182 await iter_next(decoder)
183
184
185def make_jsonl_iterator(

Callers 1

test_basicFunction · 0.70

Calls 1

iter_nextFunction · 0.70

Tested by

no test coverage detected