Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3.8] bpo-40126: Fix reverting multiple patches in unittest.mock. (GH-19351) #19483

Merged
merged 1 commit into from Apr 12, 2020

Commits on Apr 12, 2020

  1. [3.8] bpo-40126: Fix reverting multiple patches in unittest.mock. (py…

    …thonGH-19351)
    
    Patcher's __exit__() is now never called if its __enter__() is failed.
    Returning true from __exit__() silences now the exception..
    (cherry picked from commit 4b222c9)
    
    Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
    serhiy-storchaka committed Apr 12, 2020
    Copy the full SHA
    2584468 View commit details
    Browse the repository at this point in the history