Skip to content

Commit

Permalink
pragma: no branch
Browse files Browse the repository at this point in the history
  • Loading branch information
alexmojaki committed May 3, 2024
1 parent 16394b5 commit de050c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion logfire/_internal/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -1169,7 +1169,7 @@ def __exit__(self, exc_type: type[BaseException] | None, exc_value: BaseExceptio
if self._token is None: # pragma: no cover
return

if self._atexit:
if self._atexit: # pragma: no branch
atexit.unregister(self._atexit)

context_api.detach(self._token)
Expand Down

0 comments on commit de050c3

Please sign in to comment.