Lines Matching defs:code
42 def insert_code(code):
43 insert_queue.append(CodeCheck(code, current_position))
102 state.result.log += 'unexpected indent in code check:\n'
106 code = '\n'.join(new_lines)
109 exec(code, state.g)
113 state.result.log += 'code check at %s raised exception:\n' % self.position
114 state.result.log += code + '\n'
118 state.result.log += 'code check at %s failed:\n' % self.position
119 state.result.log += code + '\n'
509 code = stdin.read(code_size).decode('utf-8')
511 results[full_name] = parse_and_check_test(test_name, test_variant, test_source_file, code, current_result)