print cannot raise subprocess.CalledProcessError (#8933)

This commit is contained in:
Nikita Sobolev authored and GitHub committed 2022-10-19 19:16:05 +01:00
1 parent 193172efba
commit 09511fd72f
1 file changed
+1 -1
+1 -1
View File
@@ -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(