mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-08 22:36:18 +08:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user