Skip to content

Commit 91111fc

Browse files
authored
Merge pull request #3971 from huangruiteng/codex/fix-pr3970-ci
test: satisfy completed todo lint
2 parents f65edf1 + 0967be4 commit 91111fc

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎tests/test_chat_completed_todos.py‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,10 @@ def load():
2828

2929
def test_cursor_scope_expiry_and_capacity():
3030
pages = CompletedTodoPages()
31-
load = lambda: [{}] * 41
31+
32+
def load():
33+
return [{}] * 41
34+
3235
cursor = pages.page(scope="a", cursor="", load=load)["next_cursor"]
3336
with pytest.raises(ValueError, match="expired"):
3437
pages.page(scope="b", cursor=cursor, load=load)

0 commit comments

Comments
 (0)