equal
deleted
inserted
replaced
235 # XXX no need to iterate the whole file except to get |
235 # XXX no need to iterate the whole file except to get |
236 # the line number |
236 # the line number |
237 output = '\n'.join(line_template % (idx + 1, line) |
237 output = '\n'.join(line_template % (idx + 1, line) |
238 for idx, line in enumerate(output) |
238 for idx, line in enumerate(output) |
239 if line_context_filter(idx+1, position)) |
239 if line_context_filter(idx+1, position)) |
240 msg+= '\nfor output:\n%s' % output |
240 msg += '\nfor output:\n%s' % output |
241 raise AssertionError, msg, tcbk |
241 raise AssertionError, msg, tcbk |
242 |
242 |
243 |
243 |
244 def to_test_etypes(self): |
244 def to_test_etypes(self): |
245 return unprotected_entities(self.schema, strict=True) |
245 return unprotected_entities(self.schema, strict=True) |