mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-16 02:51:28 +08:00
print cannot raise subprocess.CalledProcessError (#8933)
This commit is contained in:
1 parent
193172efba
commit
09511fd72f
1 file changed
+1
-1
@@ -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