Skip to content

Commit

Permalink
Fix pendulum.test to properly unwind after an exception (#445)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
njsmith authored Mar 6, 2020
1 parent 4acc84f commit 8839568
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 8839568

Please sign in to comment.