diff options
author | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2006-07-01 10:47:20 (GMT) |
---|---|---|
committer | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2006-07-01 10:47:20 (GMT) |
commit | a09803329c6315792a9dee92c9d4d9bfe6eab01a (patch) | |
tree | efd5689ed2e2c2e3a304963653601ed2dfd746ab | |
parent | 28e57618ad2741c81c2400d9fc7b3cf005e205ac (diff) | |
download | cpython-a09803329c6315792a9dee92c9d4d9bfe6eab01a.zip cpython-a09803329c6315792a9dee92c9d4d9bfe6eab01a.tar.gz cpython-a09803329c6315792a9dee92c9d4d9bfe6eab01a.tar.bz2 |
Added duplicate call to fileConfig() to ensure that it cleans up after itself correctly.
-rw-r--r-- | Lib/test/test_logging.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_logging.py b/Lib/test/test_logging.py index 73f8288..68c23c2 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)) |