From a09803329c6315792a9dee92c9d4d9bfe6eab01a Mon Sep 17 00:00:00 2001 From: Vinay Sajip Date: Sat, 1 Jul 2006 10:47:20 +0000 Subject: [PATCH] Added duplicate call to fileConfig() to ensure that it cleans up after itself correctly. --- Lib/test/test_logging.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Lib/test/test_logging.py b/Lib/test/test_logging.py index 73f82881ddb..68c23c218b3 100644 --- a/Lib/test/test_logging.py +++ b/Lib/test/test_logging.py @@ -480,6 +480,8 @@ def test4(): f.close() try: logging.config.fileConfig(fn) + #call again to make sure cleanup is correct + logging.config.fileConfig(fn) except: t = sys.exc_info()[0] message(str(t))