summaryrefslogtreecommitdiff
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2020-04-11 10:59:24 +0300
committerGitHub <noreply@github.com>2020-04-11 10:59:24 +0300
commit4b222c9491d1700e9bdd98e6889b8d0ea1c7321e (patch)
tree65a24b8ad8fa5a39de328107f276e4ee224c204c /Python/pythonrun.c
parentcd8295ff758891f21084a6a5ad3403d35dda38f7 (diff)
downloadcpython-git-4b222c9491d1700e9bdd98e6889b8d0ea1c7321e.tar.gz
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 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions