r47189 - python/trunk/Lib/test/test_logging.py
Author: vinay.sajip Date: Sat Jul 1 12:47:20 2006 New Revision: 47189 Modified: python/trunk/Lib/test/test_logging.py Log: Added duplicate call to fileConfig() to ensure that it cleans up after itself correctly. Modified: python/trunk/Lib/test/test_logging.py ============================================================================== --- python/trunk/Lib/test/test_logging.py (original) +++ python/trunk/Lib/test/test_logging.py Sat Jul 1 12:47:20 2006 @@ -480,6 +480,8 @@ 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))
participants (1)
-
vinay.sajip