We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 440b823 commit 1bbac01Copy full SHA for 1bbac01
Tools/cases_generator/test_analyzer.py
@@ -10,6 +10,7 @@
10
import sys
11
import os
12
import unittest
13
+from typing import Any
14
15
# The cases_generator directory is not on sys.path when invoked from the repo
16
# root, so add it explicitly.
@@ -32,7 +33,7 @@ def _parse(src: str) -> list[parsing.AstNode]:
32
33
return nodes
34
35
-def _analyze(src: str):
36
+def _analyze(src: str) -> Any:
37
"""Parse *src* and run analyze_forest(); return the Analysis object."""
38
return analyze_forest(_parse(src))
39
0 commit comments