def test_extract_partial_list_progress_no_current():
    """Test extracting partial list progress without current object."""
    content = '{"jokes": [{"setup": "Why did the chicken cross the road?"}]'

    from llama_index.core.program.utils import create_flexible_model

    partial_cls = create_flexible_model(Show)

    result = _extract_partial_list_progress(content, Show, None, partial_cls)
    assert result is None
Test extracting partial list progress without current object.
llama-index-core/tests/program/test_streaming_utils.py