def METHOD_NAME():
    # Permit steps of 1
    assert parse_slice('1:5', False) == slice(1, 5)
    assert parse_slice('1:5:', False) == slice(1, 5)
    assert parse_slice('1:5:1', False) == slice(1, 5, 1)
    # Disable other steps
    with pytest.raises(ValueError):
        parse_slice('1:5:-1', False)
    with pytest.raises(ValueError):
        parse_slice('1:5:-2', False)