def mutate_Slice_remove_upper(self, node): if not node.upper: raise MutationResign() return ast.Slice(lower=node.lower, upper=None, step=node.step)