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

Fix pendulum.test to properly unwind after an exception #445

Merged
merged 1 commit into from
Mar 6, 2020

Commits on Mar 5, 2020

  1. Fix pendulum.test to properly unwind after an exception

    Previously, if an exception occurred inside a 'with pendulum.test(...)'
    block, then the monkeypatch would remain in place instead of being
    un-done. This could cause confusing results, as one failing test could
    cause other tests to run with an unexpected mock in place and cause
    other failures.
    njsmith committed Mar 5, 2020
    Configuration menu
    Copy the full SHA
    0b4f34e View commit details
    Browse the repository at this point in the history