Skip to content

Commit 17ed499

Browse files
committed
pylint clenup
1 parent 31e0568 commit 17ed499

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

run_reg_test.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -151,12 +151,9 @@ def vtr_command_main(arg_list, prog=None):
151151
for reg_test in args.reg_test:
152152
num_func_failures = 0
153153
num_qor_failures = 0
154-
if args.parse:
154+
if args.parse or args.check_golden:
155155
tests_run = True
156156
num_qor_failures = parse_single_test(collect_task_list(reg_test))
157-
elif args.check_golden:
158-
tests_run = True
159-
num_qor_failures = parse_single_test(collect_task_list(reg_test), check=True)
160157
elif args.create_golden:
161158
# Create golden results
162159
num_qor_failures = 0

0 commit comments

Comments
 (0)