mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 05:24:52 +08:00
print cannot raise subprocess.CalledProcessError (#8933)
This commit is contained in:
@@ -38,8 +38,8 @@ def run_stubtest(typeshed_dir: Path) -> int:
|
||||
# As discussed in https://github.com/python/typeshed/issues/3693, we only aim for
|
||||
# positional-only arg accuracy for the latest Python version.
|
||||
cmd += ["--ignore-positional-only"]
|
||||
print(" ".join(cmd), file=sys.stderr)
|
||||
try:
|
||||
print(" ".join(cmd), file=sys.stderr)
|
||||
subprocess.run(cmd, check=True)
|
||||
except subprocess.CalledProcessError as e:
|
||||
print(
|
||||
|
||||
Reference in New Issue
Block a user