blob: 360f13ce2935a3e591db8b472007a27010c8a817 [file] [log] [blame]
from __future__ import unicode_literals
from six import integer_types, text_type
def check_errors(errors):
for e in errors:
error_type, description, path, line_number = e
assert isinstance(error_type, text_type)
assert isinstance(description, text_type)
assert isinstance(path, text_type)
assert line_number is None or isinstance(line_number, integer_types)