Skip to content

Commit

Permalink
Fix context manager
Browse files Browse the repository at this point in the history
  • Loading branch information
jrmaddison committed Jul 12, 2024
1 parent ab80fe6 commit 4bb4e3b
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions tests/regression/test_adjoint_reverse_over_forward.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,11 @@ def _():
def reverse_over_forward():
continue_annotation()
continue_reverse_over_forward()
yield
pause_annotation()
pause_reverse_over_forward()
try:
yield
finally:
pause_annotation()
pause_reverse_over_forward()


@pytest.mark.skipcomplex
Expand Down

0 comments on commit 4bb4e3b

Please sign in to comment.