def test_parse_spec(): eq_(_parse_spec('0/3/-1'), [(0, 0), (3, 3), (0, 1)]) eq_(_parse_spec('4-10'), [(4, 10)]) eq_(_parse_spec(''), [])