aboutsummaryrefslogtreecommitdiff
path: root/svg-flatten/src
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2021-09-29 17:44:08 +0200
committerjaseg <git@jaseg.de>2021-09-29 17:44:08 +0200
commit7dccfc8e11ab659657553f292c7ea5afae371a05 (patch)
tree16310c314098e2690ee4f3a8e3f523bd7d7a77c0 /svg-flatten/src
parent2380dcb22205cde26355f47de108f21a573d3d8d (diff)
downloadgerbolyze-7dccfc8e11ab659657553f292c7ea5afae371a05.tar.gz
gerbolyze-7dccfc8e11ab659657553f292c7ea5afae371a05.tar.bz2
gerbolyze-7dccfc8e11ab659657553f292c7ea5afae371a05.zip
svg-flatten/tests: Only print output on error
Diffstat (limited to 'svg-flatten/src')
-rw-r--r--svg-flatten/src/test/svg_tests.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/svg-flatten/src/test/svg_tests.py b/svg-flatten/src/test/svg_tests.py
index 0fc8dd6..e417c19 100644
--- a/svg-flatten/src/test/svg_tests.py
+++ b/svg-flatten/src/test/svg_tests.py
@@ -38,12 +38,11 @@ def run_svg_flatten(input_file, output_file, *args, **kwargs):
try:
proc = subprocess.run(args, capture_output=True, check=True)
except:
- raise
- finally:
print('Subprocess stdout:')
print(proc.stdout.decode())
print('Subprocess stderr:')
print(proc.stderr.decode())
+ raise
def run_cargo_cmd(cmd, args, **kwargs):
if cmd.upper() in os.environ: