Skip to content

Commit 22b6ebb

Browse files
committed
Validation: use clear after testing; re-enable raise on errors.
1 parent 2618e5c commit 22b6ebb

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

tests/validate.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1148,6 +1148,7 @@ def run_tests(fns):
11481148
print('!!!!!!!!!!!!!!!!!!!!!!')
11491149
print('ERROR:', fn, ex)
11501150
print('!!!!!!!!!!!!!!!!!!!!!!')
1151+
raise
11511152

11521153

11531154
if WIN32 and SAVE_COM_OUTPUT:
@@ -1167,6 +1168,13 @@ def run_tests(fns):
11671168
round(100 * total_capi_time / total_com_time, 1)
11681169
))
11691170

1171+
1172+
if not LOAD_COM_OUTPUT:
1173+
for dss in com, capi:
1174+
if USE_V8:
1175+
dss.Text.Command = 'ClearAll'
1176+
else:
1177+
dss.Text.Command = 'Clear'
11701178

11711179
if __name__ == '__main__':
11721180
from common import test_filenames

0 commit comments

Comments
 (0)