Skip to content

Commit a5dd996

Browse files
authored
Remove Python 3.9 workaround in stubtest_stdlib (#15655)
We don't support running the tests with Python 3.9 anymore.
1 parent 5ecdd63 commit a5dd996

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

tests/stubtest_stdlib.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,6 @@ def run_stubtest(typeshed_dir: Path) -> int:
3333
str(typeshed_dir),
3434
*allowlist_stubtest_arguments("stdlib"),
3535
]
36-
if sys.version_info < (3, 10):
37-
# As discussed in https://github.com/python/typeshed/issues/3693, we only aim for
38-
# positional-only arg accuracy for python 3.10 and above.
39-
cmd += ["--ignore-positional-only"]
4036
print(" ".join(cmd), file=sys.stderr)
4137
try:
4238
subprocess.run(cmd, check=True)

0 commit comments

Comments
 (0)