summaryrefslogtreecommitdiffstats
path: root/Lib/urllib/__init__.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2020-04-12 11:53:46 (GMT)
committerGitHub <noreply@github.com>2020-04-12 11:53:46 (GMT)
commitee249d798ba08f065efbf4f450880a446c6ca49d (patch)
tree67a2ddffe43877e3345bf6cb638008aa3e667a98 /Lib/urllib/__init__.py
parent2714c907df7cfe97911df6ce90364001270d9a43 (diff)
downloadcpython-ee249d798ba08f065efbf4f450880a446c6ca49d.zip
cpython-ee249d798ba08f065efbf4f450880a446c6ca49d.tar.gz
cpython-ee249d798ba08f065efbf4f450880a446c6ca49d.tar.bz2
[3.8] bpo-40126: Fix reverting multiple patches in unittest.mock. (GH-19351) (GH-19483)
Patcher's __exit__() is now never called if its __enter__() is failed. Returning true from __exit__() silences now the exception. (cherry picked from commit 4b222c9491d1700e9bdd98e6889b8d0ea1c7321e) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Diffstat (limited to 'Lib/urllib/__init__.py')
0 files changed, 0 insertions, 0 deletions