whole_func_string: function unpatchPromise() {
    for (let method of methods) {
      if (Promise.prototype[method.name] === method) {
        delete Promise.prototype[method.name];
      }
    }
  }
func_code_string: function unpatchPromise() {
    for (let method of methods) {
      if (Promise.prototype[method.name] === method) {
        delete Promise.prototype[method.name];
      }
    }
  }
func_documentation_string: Undoes `patchPromise`.
  
  A no-op if `patchPromise` had not been called.