Skip to content

Commit 8839568

Browse files
authored
Fix pendulum.test to properly unwind after an exception (#445)
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.
1 parent 4acc84f commit 8839568

File tree

0 file changed

+0
-0
lines changed

    0 file changed

    +0
    -0
    lines changed

    0 commit comments

    Comments
     (0)