def check_no_error(result):
    '\n    Check that every ExtractEvent in the `result` list has no error or warning.\n    '
    for r in result:
        assert (not r.errors)
        assert (not r.warnings)
Check that every ExtractEvent in the `result` list has no error or warning.
def check_no_error(result):
    '\n    \n    '
    for r in result:
        assert (not r.errors)
        assert (not r.warnings)