equal
deleted
inserted
replaced
2276 answer = sys.stdin.readline().strip() |
2276 answer = sys.stdin.readline().strip() |
2277 if answer.lower() in ('y', 'yes'): |
2277 if answer.lower() in ('y', 'yes'): |
2278 if test.path.endswith(b'.t'): |
2278 if test.path.endswith(b'.t'): |
2279 rename(test.errpath, test.path) |
2279 rename(test.errpath, test.path) |
2280 else: |
2280 else: |
2281 rename(test.errpath, '%s.out' % test.path) |
2281 rename(test.errpath, b'%s.out' % test.path) |
2282 accepted = True |
2282 accepted = True |
2283 if not accepted: |
2283 if not accepted: |
2284 self.faildata[test.name] = b''.join(lines) |
2284 self.faildata[test.name] = b''.join(lines) |
2285 |
2285 |
2286 return accepted |
2286 return accepted |