Bump mypy from 1.8.0 to 1.9.0 in /Tools (#117418)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
This commit is contained in:
dependabot[bot] 2024-04-01 11:14:37 +00:00 committed by GitHub
parent 9b403fb559
commit 348cf6e007
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 4 deletions

View file

@ -349,9 +349,7 @@ class Regrtest:
namespace = dict(locals())
tracer.runctx(cmd, globals=globals(), locals=namespace)
result = namespace['result']
# Mypy doesn't know about this attribute yet,
# but it will do soon: https://github.com/python/typeshed/pull/11091
result.covered_lines = list(tracer.counts) # type: ignore[attr-defined]
result.covered_lines = list(tracer.counts)
else:
result = run_single_test(test_name, runtests)