diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2020-04-11 07:59:24 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-11 07:59:24 (GMT) |
commit | 4b222c9491d1700e9bdd98e6889b8d0ea1c7321e (patch) | |
tree | 65a24b8ad8fa5a39de328107f276e4ee224c204c /PC | |
parent | cd8295ff758891f21084a6a5ad3403d35dda38f7 (diff) | |
download | cpython-4b222c9491d1700e9bdd98e6889b8d0ea1c7321e.zip cpython-4b222c9491d1700e9bdd98e6889b8d0ea1c7321e.tar.gz cpython-4b222c9491d1700e9bdd98e6889b8d0ea1c7321e.tar.bz2 |
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.
Diffstat (limited to 'PC')
0 files changed, 0 insertions, 0 deletions