summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/test/libregrtest/main.py4
-rw-r--r--Tools/requirements-dev.txt2
2 files changed, 2 insertions, 4 deletions
diff --git a/Lib/test/libregrtest/main.py b/Lib/test/libregrtest/main.py
index 70f723a..3c9d962 100644
--- a/Lib/test/libregrtest/main.py
+++ b/Lib/test/libregrtest/main.py
@@ -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)
diff --git a/Tools/requirements-dev.txt b/Tools/requirements-dev.txt
index fffd224..61e75cf 100644
--- a/Tools/requirements-dev.txt
+++ b/Tools/requirements-dev.txt
@@ -1,6 +1,6 @@
# Requirements file for external linters and checks we run on
# Tools/clinic, Tools/cases_generator/, and Tools/peg_generator/ in CI
-mypy==1.8.0
+mypy==1.9.0
# needed for peg_generator:
types-psutil==5.9.5.20240316