Skip to content

Commit 917df51

Browse files
committed
Remove the line used to confirm the tests fail when they should
1 parent 449a9c3 commit 917df51

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

annotated_logger/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -790,7 +790,6 @@ def wrap_function(*args: P.args, **kwargs: P.kwargs) -> R:
790790
finally:
791791
# Remove the logger now that we are done with it,
792792
# otherwise they build up and eat memory
793-
logging.root.manager.loggerDict.pop(logger.logger.name, None)
794793
if not pre_execution_annotations:
795794
logging.root.manager.loggerDict.pop(logger.logger.name, None)
796795
return result

0 commit comments

Comments
 (0)