Remove Python 3.9 workaround in stubtest_stdlib (#15655)

We don't support running the tests with Python 3.9 anymore.
This commit is contained in:
Sebastian Rittau
2026-04-20 14:44:14 +02:00
committed by GitHub
parent 5ecdd635b9
commit a5dd996036
-4
View File
@@ -33,10 +33,6 @@ def run_stubtest(typeshed_dir: Path) -> int:
str(typeshed_dir),
*allowlist_stubtest_arguments("stdlib"),
]
if sys.version_info < (3, 10):
# As discussed in https://github.com/python/typeshed/issues/3693, we only aim for
# positional-only arg accuracy for python 3.10 and above.
cmd += ["--ignore-positional-only"]
print(" ".join(cmd), file=sys.stderr)
try:
subprocess.run(cmd, check=True)