From 631db09b2d4e2388ce9fbe9950c7242ab3901c36 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. git-svn-id: http://svn.python.org/projects/python/trunk@47189 6015fed2-1504-0410-9fe1-9d1591cc4771 --- 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 73f82881dd..68c23c218b 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)) -- 2.11.4.GIT