The global statement is only required when assigning to a global
variable, not when simply reading its value. In run_tests(), the global
setup_time and global teardown_time declarations are unnecessary
because these variables are only read. Remove both declarations from
run_tests().
Signed-off-by: Kamalesh Babulal <kamalesh.babulal@oracle.com>
Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
)
print('-----------------------------------------------------------------')
- global setup_time
- global teardown_time
if config.args.verbose:
print('Timing Results:')
print(