def check_start_end(l):
    l = list(l)
    result = (l[0].start, l[(- 1)].end)
    assert (expected_start_end == result)
def check_start_end(l):
    l = list(l)
    result = (l[0].start, l[(- 1)].end)
    assert (expected_start_end == result)