commit | 4b222c9491d1700e9bdd98e6889b8d0ea1c7321e | [log] [tgz] |
---|---|---|
author | Serhiy Storchaka <storchaka@gmail.com> | Sat Apr 11 10:59:24 2020 +0300 |
committer | GitHub <noreply@github.com> | Sat Apr 11 10:59:24 2020 +0300 |
tree | 65a24b8ad8fa5a39de328107f276e4ee224c204c | |
parent | cd8295ff758891f21084a6a5ad3403d35dda38f7 [diff] |
bpo-40126: Fix reverting multiple patches in unittest.mock. (GH-19351) Patcher's __exit__() is now never called if its __enter__() is failed. Returning true from __exit__() silences now the exception.