def _PopTo(self, stop_type):
    last = None
    while True:
      last = self._Pop()
      if last.token.type == stop_type:
        break
    return last
Helper method which makes an API call to delete the supplied
dataset/ETHPy150Open google/closure-linter/closure_linter/indentation.py/IndentationRules._PopTo--crossover with--dataset/ETHPy150Open ClusterHQ/flocker/flocker/control/test/test_httpapi.py/DeleteDatasetTestsMixin._test_delete