This PR foregoes returning a value from __exit__, thereby allowing exceptions raised inside the context manager to bubble up. Since the decorator also utilizes the context manager, exceptions will bubble up from decorated methods as well.
Checklist
[X] Your branch is up-to-date with the base branch
[X] You've included at least one test if this is a new feature
Description
This PR foregoes returning a value from
__exit__
, thereby allowing exceptions raised inside the context manager to bubble up. Since the decorator also utilizes the context manager, exceptions will bubble up from decorated methods as well.Checklist
Related Issues and Discussions
Resolves #102
People to notify
@manrajgrover