Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add missing mypy return type annotation in test
  • Loading branch information
adityakrmishra committed Apr 11, 2026
commit 1bbac01df0106f4085160df21f0314e8be6b362e
3 changes: 2 additions & 1 deletion Tools/cases_generator/test_analyzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
import sys
import os
import unittest
from typing import Any

# The cases_generator directory is not on sys.path when invoked from the repo
# root, so add it explicitly.
Expand All @@ -32,7 +33,7 @@ def _parse(src: str) -> list[parsing.AstNode]:
return nodes


def _analyze(src: str):
def _analyze(src: str) -> Any:
"""Parse *src* and run analyze_forest(); return the Analysis object."""
return analyze_forest(_parse(src))

Expand Down
Loading