From: Vinay Sajip Date: Sat, 1 Jul 2006 10:47:20 +0000 (+0000) Subject: Added duplicate call to fileConfig() to ensure that it cleans up after itself correctly. X-Git-Tag: v2.5b2~79 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a09803329c6315792a9dee92c9d4d9bfe6eab01a;p=python Added duplicate call to fileConfig() to ensure that it cleans up after itself correctly. --- 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))