diff options
| author | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2006-07-01 10:47:20 +0000 |
|---|---|---|
| committer | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2006-07-01 10:47:20 +0000 |
| commit | a09803329c6315792a9dee92c9d4d9bfe6eab01a (patch) | |
| tree | efd5689ed2e2c2e3a304963653601ed2dfd746ab /Lib/test/test_logging.py | |
| parent | 28e57618ad2741c81c2400d9fc7b3cf005e205ac (diff) | |
| download | cpython-git-a09803329c6315792a9dee92c9d4d9bfe6eab01a.tar.gz | |
Added duplicate call to fileConfig() to ensure that it cleans up after itself correctly.
Diffstat (limited to 'Lib/test/test_logging.py')
| -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 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)) |
