diff options
author | Anthony Sottile <asottile@umich.edu> | 2020-10-05 18:13:05 -0700 |
---|---|---|
committer | Anthony Sottile <asottile@umich.edu> | 2020-10-05 18:33:17 -0700 |
commit | 33d119f71a60d1b41686c04a52c3a570fdcd506c (patch) | |
tree | 860431d60652d573998855f45b1ca868700032b1 /testing/test_reports.py | |
parent | 703e89134c2b0c21225014e3a89c17ab062c0ab9 (diff) | |
download | pytest-33d119f71a60d1b41686c04a52c3a570fdcd506c.tar.gz |
py36+: com2ann
Diffstat (limited to 'testing/test_reports.py')
-rw-r--r-- | testing/test_reports.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/testing/test_reports.py b/testing/test_reports.py index 67ace3943..d18e680b7 100644 --- a/testing/test_reports.py +++ b/testing/test_reports.py @@ -286,9 +286,9 @@ class TestReportSerialization: reprec = testdir.inline_run() if report_class is TestReport: - reports = reprec.getreports( - "pytest_runtest_logreport" - ) # type: Union[Sequence[TestReport], Sequence[CollectReport]] + reports: Union[ + Sequence[TestReport], Sequence[CollectReport] + ] = reprec.getreports("pytest_runtest_logreport") # we have 3 reports: setup/call/teardown assert len(reports) == 3 # get the call report |