Skip to content

Commit 69bf36b

Browse files
committed
test(core): fix missing type: ignore on backend=None in multi-line call
In multi-line calls, # type: ignore only suppresses errors on its own line. The backend=None argument was uncovered; add the ignore there too. Assisted-by: Claude Code Signed-off-by: Nigel Jones <jonesn@uk.ibm.com>
1 parent 33e6342 commit 69bf36b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/core/test_stream_validate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ async def stream_validate(
122122

123123
result = await req.stream_validate(
124124
"intro text\n- one\n- two\n- three\n- four",
125-
backend=None,
125+
backend=None, # type: ignore[arg-type]
126126
ctx=None, # type: ignore[arg-type]
127127
)
128128
assert req._bullet_count == 4 # delta added 2 more

0 commit comments

Comments
 (0)