Skip to content

Commit fde19be

Browse files
committed
remove else clause to use default error messages
1 parent 7bdff09 commit fde19be

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

p5/visualTests/sanity_testing.py

-4
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,3 @@
3333
process = run(['python', name], stderr=PIPE, encoding='utf-8', timeout=2)
3434
except subprocess.TimeoutExpired:
3535
pass
36-
else:
37-
# If any error was found raise and exception
38-
if process.stderr:
39-
raise Exception(f'{process.stderr} in {name}')

0 commit comments

Comments
 (0)