test(streaming): suppress TQ002 on the append-laziness spy test

A test-quality gate (TQ002: don't assert only that a mock was called)
landed upstream since this branch's last rebase and now flags
test_append_never_calls_raw_decode. The test verifies append() defers
all decoding to pop_next_value, which has no caller-observable proxy
other than spying on the stdlib call it must avoid making.
This commit is contained in:
Deepanshu 2026-08-21 09:53:48 -04:00
parent 9a853da6a5
commit 2fb24c1f24

View file

@ -121,7 +121,7 @@ def test_set_and_snapshot_roundtrip():
assert not accumulator
def test_append_never_calls_raw_decode():
def test_append_never_calls_raw_decode(): # test-quality-ok: TQ002 - laziness contract has no caller-observable proxy other than spying on the stdlib call it must defer
"""Appending must be O(1) bookkeeping only; the O(n) join+decode is
deferred entirely to pop_next_value."""
accumulator = JSONFragmentAccumulator()