def run(self, result=None):
with open("<STR_LIT>", "<STR_LIT:a>") as cost_file:<EOL><INDENT>start_time = time.time()<EOL>super(parser_test_case_t, self).run(result)<EOL>name = super(parser_test_case_t, self).id()<EOL>cost_file.write(<EOL>name + "<STR_LIT:U+0020>" +<EOL>str(time.time() - start_time) + "<STR_LIT:\n>")<EOL><DEDENT>
Override the run method.

Allows to measure the time each test needs. The result is written
in the test_cost.log file.