]> granicus.if.org Git - python/commitdiff
Added duplicate call to fileConfig() to ensure that it cleans up after itself correctly.
authorVinay Sajip <vinay_sajip@yahoo.co.uk>
Sat, 1 Jul 2006 10:47:20 +0000 (10:47 +0000)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>
Sat, 1 Jul 2006 10:47:20 +0000 (10:47 +0000)
Lib/test/test_logging.py

index 73f82881ddbc8bbb39e5040d7da0a324e1a5a07d..68c23c218b352c684055330d5604d7bff2d7bc2d 100644 (file)
@@ -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))