summaryrefslogtreecommitdiff
path: root/Lib/test/test_logging.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_logging.py')
-rw-r--r--Lib/test/test_logging.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_logging.py b/Lib/test/test_logging.py
index 1a5f8b60f5..93f6e5f85a 100644
--- a/Lib/test/test_logging.py
+++ b/Lib/test/test_logging.py
@@ -5298,6 +5298,7 @@ class TimedRotatingFileHandlerTest(BaseFileTest):
time.sleep(1.1) # a little over a second ...
r = logging.makeLogRecord({'msg': 'testing - device file'})
self.assertFalse(fh.shouldRollover(r))
+ fh.close()
# other test methods added below
def test_rollover(self):