Skip to content

Commit b4ac2e5

Browse files
test: narrow overlap fixture helper return type for mypy
1 parent 9af802a commit b4ac2e5

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tests/test_real_session_fixtures.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ def _overlap_tool_result_from_all_tool_types_fixture() -> dict:
4343
"overlap toolUseResult (agent-sanitized-overlap) missing from "
4444
"real_session_all_tool_types.jsonl"
4545
)
46+
assert overlap is not None # narrow for mypy (pytest.fail is not NoReturn)
4647
return overlap
4748

4849

0 commit comments

Comments
 (0)