We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b403fb commit 348cf6eCopy full SHA for 348cf6e
Lib/test/libregrtest/main.py
@@ -349,9 +349,7 @@ def run_test(
349
namespace = dict(locals())
350
tracer.runctx(cmd, globals=globals(), locals=namespace)
351
result = namespace['result']
352
- # Mypy doesn't know about this attribute yet,
353
- # but it will do soon: https://github.com/python/typeshed/pull/11091
354
- result.covered_lines = list(tracer.counts) # type: ignore[attr-defined]
+ result.covered_lines = list(tracer.counts)
355
else:
356
result = run_single_test(test_name, runtests)
357
Tools/requirements-dev.txt
@@ -1,6 +1,6 @@
1
# Requirements file for external linters and checks we run on
2
# Tools/clinic, Tools/cases_generator/, and Tools/peg_generator/ in CI
3
-mypy==1.8.0
+mypy==1.9.0
4
5
# needed for peg_generator:
6
types-psutil==5.9.5.20240316
0 commit comments