def assert_equal_length(left, right):
    """assert len(left)==len(right) else print nice error message"""
    make_msg = 'len(left): {} != len(right): {}'.format
    assert len(left) == len(right), make_msg(len(left), len(right))
