Skip to content

Commit dfe5962

Browse files
committed
Making type checker happy
1 parent b6e3931 commit dfe5962

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

smart_tests/test_runners/bazel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def f(case: TestCase, suite: TestSuite, report_file: str) -> TestPath:
7474
client.path_builder = f
7575
client.check_timestamp = False
7676

77-
def parse_func(report: str) -> ET.ElementTree:
77+
def parse_func(report: str) -> ET.ElementTree[ET.Element[str]]:
7878
"""
7979
test result XML generated by Bazel's java_test rule (and possibly others) do not capture system-out/system-err.
8080
The whole thing gets captured separately as test.log file in the same directory as test.xml.

0 commit comments

Comments
 (0)