mirror of
https://github.com/python/cpython.git
synced 2025-09-09 02:11:51 +00:00
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:
parent
9b403fb559
commit
348cf6e007
2 changed files with 2 additions and 4 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue