you probably know this, but mock's patch can be used as a context manager with `with` instead of this try/finally manual patch pattern